#21406D#21406D

#21406D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.086 H 257.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#21406D
RGBrgb(33, 64, 109)
HSLhsl(216, 54%, 28%)
HSVhsv(216, 70%, 43%)
CMYKcmyk(69.7%, 41.3%, 0%, 57.3%)
CIE-LABlab(27.00, 4.71, -29.55)
CIE-LCHlch(27.00, 29.92, 279.05°)
OKLaboklab(37.2% -0.0182 -0.0841)
OKLCHoklch(37.2% 0.086 257.8)
XYZxyz(5.2199, 5.0937, 15.1731)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21406D #6D4E21
analogous
#21666D #21406D #28216D
triadic
#21406D #6D2140 #406D21
tetradic
#21406D #6D2166 #6D4E21 #216D28
square
#21406D #6D2166 #6D4E21 #216D28
split-complementary
#21406D #6D2821 #666D21
monochromatic
#070E17 #13243E #21406D #2F5C9C #4278C6

Accessibility & contrast

On white

10.40
#21406D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#21406D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21406D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21406D#FFFFFF#000000##FFFFFF
##21406D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446F
Deuteranopia (green-blind)
#213D6C
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21406d;
/* rgb */ color: rgb(33, 64, 109);
/* oklch */ color: oklch(37.2% 0.086 257.8);
Tailwind
colors: {
  custom: {
    50: '#657497',
    500: '#21406d',
    950: '#000000',
  },
}
SCSS
$custom: #21406d;
$custom-light: #657497;
$custom-dark: #000000;
JSON
{
  "hex": "#21406d",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 215.526,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.08606,
    "h": 257.8
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#21406D
secondary
#A17D49
accent
#A14BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #21406D

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

Preview Lab → · Contrast checker → · Palette generator →

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