#21406C#21406C

#21406C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.1% C 0.085 H 257.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#21406C
RGBrgb(33, 64, 108)
HSLhsl(215, 53%, 28%)
HSVhsv(215, 69%, 42%)
CMYKcmyk(69.4%, 40.7%, 0%, 57.6%)
CIE-LABlab(26.94, 4.32, -29.01)
CIE-LCHlch(26.94, 29.33, 278.47°)
OKLaboklab(37.13% -0.0184 -0.0825)
OKLCHoklch(37.13% 0.085 257.4)
XYZxyz(5.1664, 5.0723, 14.8912)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21406C #6C4D21
analogous
#21656C #21406C #28216C
triadic
#21406C #6C2140 #406C21
tetradic
#21406C #6C2165 #6C4D21 #216C28
square
#21406C #6C2165 #6C4D21 #216C28
split-complementary
#21406C #6C2821 #656C21
monochromatic
#070E17 #13243D #21406C #2F5C9B #4278C5

Accessibility & contrast

On white

10.42
#21406C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21406C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21406C#FFFFFF#000000##FFFFFF
##21406C1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#213C6B
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21406c;
/* rgb */ color: rgb(33, 64, 108);
/* oklch */ color: oklch(37.1% 0.085 257.4);
Tailwind
colors: {
  custom: {
    50: '#657496',
    500: '#21406c',
    950: '#000000',
  },
}
SCSS
$custom: #21406c;
$custom-light: #657496;
$custom-dark: #000000;
JSON
{
  "hex": "#21406c",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 215.2,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.08456,
    "h": 257.4
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#21406C
secondary
#A07C49
accent
#A04BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #21406C

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

Preview Lab → · Contrast checker → · Palette generator →

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