#21406F#21406F

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

Color values

HEX#21406F
RGBrgb(33, 64, 111)
HSLhsl(216, 54%, 28%)
HSVhsv(216, 70%, 44%)
CMYKcmyk(70.3%, 42.3%, 0%, 56.5%)
CIE-LABlab(27.12, 5.49, -30.63)
CIE-LCHlch(27.12, 31.12, 280.17°)
OKLaboklab(37.33% -0.0177 -0.0873)
OKLCHoklch(37.33% 0.089 258.5)
XYZxyz(5.3288, 5.1373, 15.7466)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21406F #6F5021
analogous
#21676F #21406F #29216F
triadic
#21406F #6F2140 #406F21
tetradic
#21406F #6F2167 #6F5021 #216F29
square
#21406F #6F2167 #6F5021 #216F29
split-complementary
#21406F #6F2921 #676F21
monochromatic
#070E18 #132540 #21406F #2F5B9E #4378C7

Accessibility & contrast

On white

10.36
#21406F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#21406F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21406F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21406F#FFFFFF#000000##FFFFFF
##21406F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4471
Deuteranopia (green-blind)
#1F3D6E
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21406f;
/* rgb */ color: rgb(33, 64, 111);
/* oklch */ color: oklch(37.3% 0.089 258.5);
Tailwind
colors: {
  custom: {
    50: '#667498',
    500: '#21406f',
    950: '#000000',
  },
}
SCSS
$custom: #21406f;
$custom-light: #667498;
$custom-dark: #000000;
JSON
{
  "hex": "#21406f",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 216.154,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3733,
    "c": 0.08906,
    "h": 258.5
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#21406F
secondary
#A37F49
accent
#A34ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #21406F

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

Preview Lab → · Contrast checker → · Palette generator →

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