#21437E#21437E

#21437E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.108 H 260.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#21437E
RGBrgb(33, 67, 126)
HSLhsl(218, 58%, 31%)
HSVhsv(218, 74%, 49%)
CMYKcmyk(73.8%, 46.8%, 0%, 50.6%)
CIE-LABlab(29.01, 9.38, -37.07)
CIE-LCHlch(29.01, 38.23, 284.20°)
OKLaboklab(39.1% -0.0176 -0.1061)
OKLCHoklch(39.1% 0.108 260.6)
XYZxyz(6.3989, 5.8433, 20.5253)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21437E #7E5C21
analogous
#21717E #21437E #2D217E
triadic
#21437E #7E2143 #437E21
tetradic
#21437E #7E2171 #7E5C21 #217E2D
square
#21437E #7E2171 #7E5C21 #217E2D
split-complementary
#21437E #7E2D21 #717E21
monochromatic
#080F1D #14294E #21437E #2E5DAE #4A7BD0

Accessibility & contrast

On white

9.68
#21437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#21437E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21437E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21437E#FFFFFF#000000##FFFFFF
##21437E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#13407D
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #21437e;
/* rgb */ color: rgb(33, 67, 126);
/* oklch */ color: oklch(39.1% 0.108 260.6);
Tailwind
colors: {
  custom: {
    50: '#6976a4',
    500: '#21437e',
    950: '#000000',
  },
}
SCSS
$custom: #21437e;
$custom-light: #6976a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21437e",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 218.065,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39103,
    "c": 0.10758,
    "h": 260.6
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#21437E
secondary
#B18B4A
accent
#A946E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #21437E

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

Preview Lab → · Contrast checker → · Palette generator →

#21437E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva