#21376B#21376B

#21376B is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.095 H 264.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#21376B
RGBrgb(33, 55, 107)
HSLhsl(222, 53%, 27%)
HSVhsv(222, 69%, 42%)
CMYKcmyk(69.2%, 48.6%, 0%, 58%)
CIE-LABlab(24.05, 10.18, -32.97)
CIE-LCHlch(24.05, 34.51, 287.15°)
OKLaboklab(34.88% -0.0087 -0.0943)
OKLCHoklch(34.88% 0.095 264.7)
XYZxyz(4.6463, 4.1168, 14.4568)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21376B #6B5521
analogous
#215C6B #21376B #30216B
triadic
#21376B #6B2137 #376B21
tetradic
#21376B #6B215C #6B5521 #216B30
square
#21376B #6B215C #6B5521 #216B30
split-complementary
#21376B #6B3021 #5C6B21
monochromatic
#070C17 #131F3C #21376B #2F4F9A #4269C5

Accessibility & contrast

On white

11.52
#21376B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#21376B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21376B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21376B#FFFFFF#000000##FFFFFF
##21376B1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6D
Deuteranopia (green-blind)
#0F366A
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #21376b;
/* rgb */ color: rgb(33, 55, 107);
/* oklch */ color: oklch(34.9% 0.095 264.7);
Tailwind
colors: {
  custom: {
    50: '#656d96',
    500: '#21376b',
    950: '#000000',
  },
}
SCSS
$custom: #21376b;
$custom-light: #656d96;
$custom-dark: #000000;
JSON
{
  "hex": "#21376b",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 107
  },
  "hsl": {
    "h": 222.162,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3488,
    "c": 0.0947,
    "h": 264.7
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#21376B
secondary
#9F8549
accent
#B14CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #21376B

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

Preview Lab → · Contrast checker → · Palette generator →

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