#21529D#21529D

#21529D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.133 H 258.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#21529D
RGBrgb(33, 82, 157)
HSLhsl(216, 65%, 37%)
HSVhsv(216, 79%, 62%)
CMYKcmyk(79%, 47.8%, 0%, 38.4%)
CIE-LABlab(35.58, 11.56, -45.52)
CIE-LCHlch(35.58, 46.96, 284.25°)
OKLaboklab(44.82% -0.0255 -0.1307)
OKLCHoklch(44.82% 0.133 258.9)
XYZxyz(9.7281, 8.7911, 33.0759)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21529D #9D6C21
analogous
#21909D #21529D #2E219D
triadic
#21529D #9D2152 #529D21
tetradic
#21529D #9D2190 #9D6C21 #219D2E
square
#21529D #9D2190 #9D6C21 #219D2E
split-complementary
#21529D #9D2E21 #909D21
monochromatic
#0C1D38 #16386A #21529D #2C6CD0 #5C8FDD

Accessibility & contrast

On white

7.61
#21529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#21529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21529D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21529D#FFFFFF#000000##FFFFFF
##21529D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#044E9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #21529d;
/* rgb */ color: rgb(33, 82, 157);
/* oklch */ color: oklch(44.8% 0.133 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082ba',
    500: '#21529d',
    950: '#000000',
  },
}
SCSS
$custom: #21529d;
$custom-light: #7082ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21529d",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 216.29,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.13317,
    "h": 258.9
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#21529D
secondary
#C19859
accent
#A640E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21529D

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

Preview Lab → · Contrast checker → · Palette generator →

#21529D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva