#213E7A#213E7A

#213E7A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.108 H 262.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#213E7A
RGBrgb(33, 62, 122)
HSLhsl(220, 57%, 30%)
HSVhsv(220, 73%, 48%)
CMYKcmyk(73%, 49.2%, 0%, 52.2%)
CIE-LABlab(27.22, 11.24, -37.43)
CIE-LCHlch(27.22, 39.08, 286.71°)
OKLaboklab(37.64% -0.0134 -0.1073)
OKLCHoklch(37.64% 0.108 262.9)
XYZxyz(5.8614, 5.1731, 19.0982)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E7A #7A5D21
analogous
#216A7A #213E7A #30217A
triadic
#213E7A #7A213E #3E7A21
tetradic
#213E7A #7A216A #7A5D21 #217A30
square
#213E7A #7A216A #7A5D21 #217A30
split-complementary
#213E7A #7A3021 #6A7A21
monochromatic
#070D1A #14264A #213E7A #2E56AA #4873CD

Accessibility & contrast

On white

10.32
#213E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E7A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E7A#FFFFFF#000000##FFFFFF
##213E7A1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457C
Deuteranopia (green-blind)
#093C79
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213e7a;
/* rgb */ color: rgb(33, 62, 122);
/* oklch */ color: oklch(37.6% 0.108 262.9);
Tailwind
colors: {
  custom: {
    50: '#6872a1',
    500: '#213e7a',
    950: '#000000',
  },
}
SCSS
$custom: #213e7a;
$custom-light: #6872a1;
$custom-dark: #000000;
JSON
{
  "hex": "#213e7a",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 220.449,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37639,
    "c": 0.10813,
    "h": 262.9
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#213E7A
secondary
#AD8D4A
accent
#AF47E1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #213E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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