#21376C#21376C

#21376C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.096 H 264.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#21376C
RGBrgb(33, 55, 108)
HSLhsl(222, 53%, 28%)
HSVhsv(222, 69%, 42%)
CMYKcmyk(69.4%, 49.1%, 0%, 57.6%)
CIE-LABlab(24.12, 10.57, -33.51)
CIE-LCHlch(24.12, 35.13, 287.51°)
OKLaboklab(34.95% -0.0086 -0.0959)
OKLCHoklch(34.95% 0.096 264.9)
XYZxyz(4.6992, 4.1380, 14.7355)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21376C #6C5621
analogous
#215C6C #21376C #31216C
triadic
#21376C #6C2137 #376C21
tetradic
#21376C #6C215C #6C5621 #216C31
square
#21376C #6C215C #6C5621 #216C31
split-complementary
#21376C #6C3121 #5C6C21
monochromatic
#070C17 #131F3D #21376C #2F4F9B #4269C5

Accessibility & contrast

On white

11.49
#21376C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#21376C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21376C
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21376C#FFFFFF#000000##FFFFFF
##21376C1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#0E366B
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #21376c;
/* rgb */ color: rgb(33, 55, 108);
/* oklch */ color: oklch(35.0% 0.096 264.9);
Tailwind
colors: {
  custom: {
    50: '#656d96',
    500: '#21376c',
    950: '#000000',
  },
}
SCSS
$custom: #21376c;
$custom-light: #656d96;
$custom-dark: #000000;
JSON
{
  "hex": "#21376c",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 222.4,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34954,
    "c": 0.09625,
    "h": 264.9
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#21376C
secondary
#A08649
accent
#B24BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #21376C

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

Preview Lab → · Contrast checker → · Palette generator →

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