#21376F#21376F

#21376F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.101 H 265.4°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#21376F
RGBrgb(33, 55, 111)
HSLhsl(223, 54%, 28%)
HSVhsv(223, 70%, 44%)
CMYKcmyk(70.3%, 50.5%, 0%, 56.5%)
CIE-LABlab(24.33, 11.76, -35.10)
CIE-LCHlch(24.33, 37.01, 288.53°)
OKLaboklab(35.18% -0.0081 -0.1005)
OKLCHoklch(35.18% 0.101 265.4)
XYZxyz(4.8616, 4.2029, 15.5909)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21376F #6F5921
analogous
#215E6F #21376F #32216F
triadic
#21376F #6F2137 #376F21
tetradic
#21376F #6F215E #6F5921 #216F32
square
#21376F #6F215E #6F5921 #216F32
split-complementary
#21376F #6F3221 #5E6F21
monochromatic
#070C18 #132040 #21376F #2F4E9E #4368C7

Accessibility & contrast

On white

11.41
#21376F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#21376F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21376F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21376F#FFFFFF#000000##FFFFFF
##21376F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#07366E
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21376f;
/* rgb */ color: rgb(33, 55, 111);
/* oklch */ color: oklch(35.2% 0.101 265.4);
Tailwind
colors: {
  custom: {
    50: '#666d99',
    500: '#21376f',
    950: '#000000',
  },
}
SCSS
$custom: #21376f;
$custom-light: #666d99;
$custom-dark: #000000;
JSON
{
  "hex": "#21376f",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 111
  },
  "hsl": {
    "h": 223.077,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35181,
    "c": 0.10086,
    "h": 265.4
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#21376F
secondary
#A38949
accent
#B44ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #21376F

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

Preview Lab → · Contrast checker → · Palette generator →

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