#21406B#21406B

#21406B is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.1% C 0.083 H 257.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#21406B
RGBrgb(33, 64, 107)
HSLhsl(215, 53%, 27%)
HSVhsv(215, 69%, 42%)
CMYKcmyk(69.2%, 40.2%, 0%, 58%)
CIE-LABlab(26.88, 3.93, -28.47)
CIE-LCHlch(26.88, 28.73, 277.85°)
OKLaboklab(37.06% -0.0187 -0.0809)
OKLCHoklch(37.06% 0.083 257)
XYZxyz(5.1135, 5.0512, 14.6126)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21406B #6B4C21
analogous
#21656B #21406B #27216B
triadic
#21406B #6B2140 #406B21
tetradic
#21406B #6B2165 #6B4C21 #216B27
square
#21406B #6B2165 #6B4C21 #216B27
split-complementary
#21406B #6B2721 #656B21
monochromatic
#070E17 #13243C #21406B #2F5C9A #4279C5

Accessibility & contrast

On white

10.45
#21406B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#21406B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21406B
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21406B#FFFFFF#000000##FFFFFF
##21406B1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436D
Deuteranopia (green-blind)
#223C6A
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21406b;
/* rgb */ color: rgb(33, 64, 107);
/* oklch */ color: oklch(37.1% 0.083 257.0);
Tailwind
colors: {
  custom: {
    50: '#657495',
    500: '#21406b',
    950: '#000000',
  },
}
SCSS
$custom: #21406b;
$custom-light: #657495;
$custom-dark: #000000;
JSON
{
  "hex": "#21406b",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 214.865,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37063,
    "c": 0.08306,
    "h": 257
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#21406B
secondary
#9F7B49
accent
#A04CDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #21406B

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

Preview Lab → · Contrast checker → · Palette generator →

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