#21377B#21377B

#21377B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.119 H 266.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#21377B
RGBrgb(33, 55, 123)
HSLhsl(225, 58%, 31%)
HSVhsv(225, 73%, 48%)
CMYKcmyk(73.2%, 55.3%, 0%, 51.8%)
CIE-LABlab(25.21, 16.53, -41.30)
CIE-LCHlch(25.21, 44.49, 291.81°)
OKLaboklab(36.13% -0.0066 -0.1188)
OKLCHoklch(36.13% 0.119 266.8)
XYZxyz(5.5673, 4.4852, 19.3074)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21377B #7B6521
analogous
#21647B #21377B #38217B
triadic
#21377B #7B2137 #377B21
tetradic
#21377B #7B2164 #7B6521 #217B38
square
#21377B #7B2164 #7B6521 #217B38
split-complementary
#21377B #7B3821 #647B21
monochromatic
#070C1A #14214B #21377B #2E4DAB #4869CE

Accessibility & contrast

On white

11.07
#21377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#21377B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21377B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21377B#FFFFFF#000000##FFFFFF
##21377B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #21377b;
/* rgb */ color: rgb(33, 55, 123);
/* oklch */ color: oklch(36.1% 0.119 266.8);
Tailwind
colors: {
  custom: {
    50: '#696da2',
    500: '#21377b',
    950: '#000000',
  },
}
SCSS
$custom: #21377b;
$custom-light: #696da2;
$custom-dark: #000000;
JSON
{
  "hex": "#21377b",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 225.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36134,
    "c": 0.11899,
    "h": 266.8
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#21377B
secondary
#AE954A
accent
#BB47E1
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #21377B

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

Preview Lab → · Contrast checker → · Palette generator →

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