#213E7E#213E7E

#213E7E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.114 H 263.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#213E7E
RGBrgb(33, 62, 126)
HSLhsl(221, 58%, 31%)
HSVhsv(221, 74%, 49%)
CMYKcmyk(73.8%, 50.8%, 0%, 50.6%)
CIE-LABlab(27.50, 12.83, -39.50)
CIE-LCHlch(27.50, 41.53, 288.00°)
OKLaboklab(37.94% -0.0128 -0.1134)
OKLCHoklch(37.94% 0.114 263.6)
XYZxyz(6.1144, 5.2743, 20.4304)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E7E #7E6121
analogous
#216C7E #213E7E #32217E
triadic
#213E7E #7E213E #3E7E21
tetradic
#213E7E #7E216C #7E6121 #217E32
square
#213E7E #7E216C #7E6121 #217E32
split-complementary
#213E7E #7E3221 #6C7E21
monochromatic
#080E1D #14264E #213E7E #2E56AE #4A74D0

Accessibility & contrast

On white

10.22
#213E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#213E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E7E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E7E#FFFFFF#000000##FFFFFF
##213E7E1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4580
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213e7e;
/* rgb */ color: rgb(33, 62, 126);
/* oklch */ color: oklch(37.9% 0.114 263.6);
Tailwind
colors: {
  custom: {
    50: '#6972a4',
    500: '#213e7e',
    950: '#000000',
  },
}
SCSS
$custom: #213e7e;
$custom-light: #6972a4;
$custom-dark: #000000;
JSON
{
  "hex": "#213e7e",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 221.29,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37943,
    "c": 0.11408,
    "h": 263.6
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#213E7E
secondary
#B1914A
accent
#B146E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #213E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#213E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva