#21376E#21376E

#21376E is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.099 H 265.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#21376E
RGBrgb(33, 55, 110)
HSLhsl(223, 54%, 28%)
HSVhsv(223, 70%, 43%)
CMYKcmyk(70%, 50%, 0%, 56.9%)
CIE-LABlab(24.26, 11.36, -34.57)
CIE-LCHlch(24.26, 36.39, 288.20°)
OKLaboklab(35.1% -0.0082 -0.099)
OKLCHoklch(35.1% 0.099 265.2)
XYZxyz(4.8069, 4.1810, 15.3025)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21376E #6E5821
analogous
#215D6E #21376E #31216E
triadic
#21376E #6E2137 #376E21
tetradic
#21376E #6E215D #6E5821 #216E31
square
#21376E #6E215D #6E5821 #216E31
split-complementary
#21376E #6E3121 #5D6E21
monochromatic
#070C18 #131F3F #21376E #2F4F9D #4368C7

Accessibility & contrast

On white

11.44
#21376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21376E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21376E#FFFFFF#000000##FFFFFF
##21376E1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#0A366D
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21376e;
/* rgb */ color: rgb(33, 55, 110);
/* oklch */ color: oklch(35.1% 0.099 265.2);
Tailwind
colors: {
  custom: {
    50: '#666d98',
    500: '#21376e',
    950: '#000000',
  },
}
SCSS
$custom: #21376e;
$custom-light: #666d98;
$custom-dark: #000000;
JSON
{
  "hex": "#21376e",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 222.857,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35105,
    "c": 0.09933,
    "h": 265.2
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#21376E
secondary
#A28849
accent
#B34BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #21376E

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

Preview Lab → · Contrast checker → · Palette generator →

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