#526DB4#526DB4

#526DB4 is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.7% C 0.116 H 266.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#526DB4
RGBrgb(82, 109, 180)
HSLhsl(223, 40%, 51%)
HSVhsv(223, 54%, 71%)
CMYKcmyk(54.4%, 39.4%, 0%, 29.4%)
CIE-LABlab(47.01, 11.14, -40.74)
CIE-LCHlch(47.01, 42.23, 285.30°)
OKLaboklab(54.7% -0.0063 -0.1154)
OKLCHoklch(54.7% 0.116 266.9)
XYZxyz(17.1838, 16.0251, 45.3588)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526DB4 #B49952
analogous
#529EB4 #526DB4 #6852B4
triadic
#526DB4 #B4526D #6DB452
tetradic
#526DB4 #B4529E #B49952 #52B468
square
#526DB4 #B4529E #B49952 #52B468
split-complementary
#526DB4 #B46852 #9EB452
monochromatic
#2A3961 #3D538C #526DB4 #7D91C7 #A7B5D9

Accessibility & contrast

On white

4.99
#526DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#526DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526DB4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526DB4#FFFFFF#000000##FFFFFF
##526DB41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B7
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#1D7C88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #526db4;
/* rgb */ color: rgb(82, 109, 180);
/* oklch */ color: oklch(54.7% 0.116 266.9);
Tailwind
colors: {
  custom: {
    50: '#8996cb',
    500: '#526db4',
    950: '#000000',
  },
}
SCSS
$custom: #526db4;
$custom-light: #8996cb;
$custom-dark: #000000;
JSON
{
  "hex": "#526db4",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 180
  },
  "hsl": {
    "h": 223.469,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.11558,
    "h": 266.9
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#526DB4
secondary
#C7BB9B
accent
#AF58CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #526DB4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#526DB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva