#21408A#21408A

#21408A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.129 H 264.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#21408A
RGBrgb(33, 64, 138)
HSLhsl(222, 61%, 34%)
HSVhsv(222, 76%, 54%)
CMYKcmyk(76.1%, 53.6%, 0%, 45.9%)
CIE-LABlab(28.96, 16.23, -44.60)
CIE-LCHlch(28.96, 47.46, 290.00°)
OKLaboklab(39.34% -0.0131 -0.1284)
OKLCHoklch(39.34% 0.129 264.2)
XYZxyz(7.0464, 5.8243, 24.7927)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21408A #8A6B21
analogous
#21748A #21408A #36218A
triadic
#21408A #8A2140 #408A21
tetradic
#21408A #8A2174 #8A6B21 #218A36
square
#21408A #8A2174 #8A6B21 #218A36
split-complementary
#21408A #8A3621 #748A21
monochromatic
#091227 #152959 #21408A #2D57BB #5077D5

Accessibility & contrast

On white

9.70
#21408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#21408A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21408A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21408A#FFFFFF#000000##FFFFFF
##21408A1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E498D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #21408a;
/* rgb */ color: rgb(33, 64, 138);
/* oklch */ color: oklch(39.3% 0.129 264.2);
Tailwind
colors: {
  custom: {
    50: '#6c74ad',
    500: '#21408a',
    950: '#000000',
  },
}
SCSS
$custom: #21408a;
$custom-light: #6c74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21408a",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 222.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39336,
    "c": 0.12902,
    "h": 264.2
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#21408A
secondary
#B9994E
accent
#B543E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #21408A

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

Preview Lab → · Contrast checker → · Palette generator →

#21408A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva