#21406E#21406E

#21406E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.088 H 258.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#21406E
RGBrgb(33, 64, 110)
HSLhsl(216, 54%, 28%)
HSVhsv(216, 70%, 43%)
CMYKcmyk(70%, 41.8%, 0%, 56.9%)
CIE-LABlab(27.06, 5.10, -30.09)
CIE-LCHlch(27.06, 30.52, 279.62°)
OKLaboklab(37.26% -0.0179 -0.0857)
OKLCHoklch(37.26% 0.088 258.2)
XYZxyz(5.2741, 5.1154, 15.4583)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21406E #6E4F21
analogous
#21666E #21406E #28216E
triadic
#21406E #6E2140 #406E21
tetradic
#21406E #6E2166 #6E4F21 #216E28
square
#21406E #6E2166 #6E4F21 #216E28
split-complementary
#21406E #6E2821 #666E21
monochromatic
#070E18 #13253F #21406E #2F5B9D #4378C7

Accessibility & contrast

On white

10.38
#21406E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21406E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21406E#FFFFFF#000000##FFFFFF
##21406E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4470
Deuteranopia (green-blind)
#203D6D
Tritanopia (blue-blind)
#004B51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21406e;
/* rgb */ color: rgb(33, 64, 110);
/* oklch */ color: oklch(37.3% 0.088 258.2);
Tailwind
colors: {
  custom: {
    50: '#667498',
    500: '#21406e',
    950: '#000000',
  },
}
SCSS
$custom: #21406e;
$custom-light: #667498;
$custom-dark: #000000;
JSON
{
  "hex": "#21406e",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 215.844,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.08756,
    "h": 258.2
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#21406E
secondary
#A27E49
accent
#A24BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #21406E

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

Preview Lab → · Contrast checker → · Palette generator →

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