Skip to content

#526bdf

a balanced, vivid blue · cool · closest name: Royal Blue

RGB
82, 107, 223
HSL
229°, 69%, 60%
CMYK
63, 52, 0, 13
Luminance
0.1764

At a glance

Every number on this page in one read: what #526bdf is made of, how bright it looks, and which way it leans.

Hex
#526bdf
Hue
229°
blue
Saturation
69%
vivid
Lightness
60%
balanced
Brightness
87%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1764
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
4.64:1
Closest name
Royal Blue
ΔE2000 2.1
Where it sits
Hue229° of 360°
Saturation69%
Lightness60%
Temperature
Warm ← → Cool89% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#526bdf
RGBrgb(82, 107, 223)
HSLhsl(229, 69%, 60%)
CMYKcmyk(63%, 52%, 0%, 13%)
LABlab(49.0 26.9 -62.1)
LCHlch(49.0 67.7 293.4)
OKLCHoklch(0.571 0.178 270.6)
Decimal5401567
Display P3color(display-p3 0.322 0.420 0.875)

Copy-ready code

/* CSS */
color: #526bdf;
background-color: #526bdf;
/* Tailwind (arbitrary) */
class="text-[#526bdf] bg-[#526bdf]"
/* SCSS */
$brand: #526bdf;
/* SwiftUI */
Color(red: 0.322, green: 0.420, blue: 0.875)
/* Android */
Color.parseColor("#526bdf")
/* Flutter */
Color(0xFF526BDF)
/* Python / OpenCV (BGR) */
(223, 107, 82)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #526bdf · 4.64:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.64:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.53:1
AA pass · AA large pass · AAA fail
Reading the other direction: #526bdf as text scores 4.64:1 on white and 4.53:1 on black.

Accessibility — WCAG contrast

Aa
#526bdf on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#526bdf on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #237BE3
deuteranopia · #006FDD
tritanopia · #00869B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #526bdf is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F5FB
#E7EAF8
#CAD1F2
#A0AEED
#7185E5
#526bdf
#2644CF
#2039AC
#192D8A
#162464
#0E173E
Base = 500Lightest = 50 · #F3F5FBDarkest = 950 · #0E173E
:root {
  --brand-50: #F3F5FB;
  --brand-100: #E7EAF8;
  --brand-200: #CAD1F2;
  --brand-300: #A0AEED;
  --brand-400: #7185E5;
  --brand-500: #526bdf;
  --brand-600: #2644CF;
  --brand-700: #2039AC;
  --brand-800: #192D8A;
  --brand-900: #162464;
  --brand-950: #0E173E;
  --brand: #526bdf;
  --brand-ink: #ffffff;
}

Colors that work with #526bdf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F5FA
Tinted page background
Border#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#B0701C
Second voice, not a rival
Dark variant#14236C
Hover, pressed, headers
Light variant#E9EDFB
Selected rows, tints
Dark surface#141724
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #526bdf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DFC652
Analogous left#52B1DF
Analogous right#8052DF
Split-complement 1#DF8052
Split-complement 2#B1DF52
Triadic 1#DF526B
Triadic 2#6BDF52
Tetradic#DF52B1

RGB percentages

Red32.2%
Green42.0%
Blue87.5%

CMYK percentages

Cyan63.2%
Magenta52.0%
Yellow0.0%
Key (black)12.5%

Color previews

#526bdf text on a black background

contrast 4.53:1

Card sample

#526bdf text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #526bdf;
Background color
Panel with #526bdf background
background-color: #526bdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #526bdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(82, 107, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(82, 107, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #526bdf;
background: linear-gradient(135deg, #526bdf, #9752DF);

Monochromatic scale

Palettes built from #526bdf

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#526bdf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#526bdf, answered

What color is #526bdf?

#526bdf is a balanced vivid blue, closest to Royal Blue (ΔE2000 2.1). It sits at 229° on the hue wheel with 69% saturation and 60% lightness, which reads as cool.

What is the RGB value of #526bdf?

rgb(82, 107, 223) — 82 red, 107 green and 223 blue out of 255, or 32.2% / 42% / 87.5% by channel.

Is #526bdf a light or a dark color?

It is a dark color. Relative luminance is 0.1764 and perceived brightness is 47%, so white text on it reaches 4.64:1.

Should I use black or white text on #526bdf?

White. It scores 4.64:1 against #526bdf, versus 4.53:1 for black — AA at any size.

What is the complementary color of #526bdf?

#DFC652 sits directly opposite on the wheel. Softer options are the split-complements #DF8052 and #B1DF52, which give the same contrast with far less vibration.

What colors go well with #526bdf?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #B0701C as an accent and #14236C for hover and pressed states. For a palette, the analogous pair #52B1DF and #8052DF stays calm, while #DFC652 is the loudest partner.

What is #526bdf in CMYK for printing?

cmyk(63%, 52%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #526bdf warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6D52DF; nudged cooler, #5082E1.

Work with #526bdf in the Color Lab