#213E79#213E79

#213E79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.107 H 262.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#213E79
RGBrgb(33, 62, 121)
HSLhsl(220, 57%, 30%)
HSVhsv(220, 73%, 47%)
CMYKcmyk(72.7%, 48.8%, 0%, 52.5%)
CIE-LABlab(27.15, 10.84, -36.91)
CIE-LCHlch(27.15, 38.47, 286.36°)
OKLaboklab(37.56% -0.0136 -0.1058)
OKLCHoklch(37.56% 0.107 262.7)
XYZxyz(5.7998, 5.1485, 18.7735)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E79 #795C21
analogous
#216A79 #213E79 #302179
triadic
#213E79 #79213E #3E7921
tetradic
#213E79 #79216A #795C21 #217930
square
#213E79 #79216A #795C21 #217930
split-complementary
#213E79 #793021 #6A7921
monochromatic
#070D19 #142549 #213E79 #2E57A9 #4773CD

Accessibility & contrast

On white

10.35
#213E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213E79
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E79#FFFFFF#000000##FFFFFF
##213E791.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447B
Deuteranopia (green-blind)
#0B3C78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213e79;
/* rgb */ color: rgb(33, 62, 121);
/* oklch */ color: oklch(37.6% 0.107 262.7);
Tailwind
colors: {
  custom: {
    50: '#6872a0',
    500: '#213e79',
    950: '#000000',
  },
}
SCSS
$custom: #213e79;
$custom-light: #6872a0;
$custom-dark: #000000;
JSON
{
  "hex": "#213e79",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 220.227,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37564,
    "c": 0.10664,
    "h": 262.7
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#213E79
secondary
#AC8C4A
accent
#AE47E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #213E79

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

Preview Lab → · Contrast checker → · Palette generator →

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