#21377D#21377D

#21377D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.122 H 267.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#21377D
RGBrgb(33, 55, 125)
HSLhsl(226, 58%, 31%)
HSVhsv(226, 74%, 49%)
CMYKcmyk(73.6%, 56%, 0%, 51%)
CIE-LABlab(25.37, 17.33, -42.31)
CIE-LCHlch(25.37, 45.72, 292.27°)
OKLaboklab(36.3% -0.0065 -0.1218)
OKLCHoklch(36.3% 0.122 267)
XYZxyz(5.6938, 4.5358, 19.9735)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21377D #7D6721
analogous
#21657D #21377D #39217D
triadic
#21377D #7D2137 #377D21
tetradic
#21377D #7D2165 #7D6721 #217D39
square
#21377D #7D2165 #7D6721 #217D39
split-complementary
#21377D #7D3921 #657D21
monochromatic
#070C1C #14224D #21377D #2E4CAD #4969CF

Accessibility & contrast

On white

11.01
#21377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#21377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21377D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21377D#FFFFFF#000000##FFFFFF
##21377D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02417F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #21377d;
/* rgb */ color: rgb(33, 55, 125);
/* oklch */ color: oklch(36.3% 0.122 267.0);
Tailwind
colors: {
  custom: {
    50: '#696da3',
    500: '#21377d',
    950: '#000000',
  },
}
SCSS
$custom: #21377d;
$custom-light: #696da3;
$custom-dark: #000000;
JSON
{
  "hex": "#21377d",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 225.652,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.363,
    "c": 0.12195,
    "h": 267
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#21377D
secondary
#B0974A
accent
#BC46E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #21377D

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

Preview Lab → · Contrast checker → · Palette generator →

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