#213E78#213E78

#213E78 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.105 H 262.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#213E78
RGBrgb(33, 62, 120)
HSLhsl(220, 57%, 30%)
HSVhsv(220, 73%, 47%)
CMYKcmyk(72.5%, 48.3%, 0%, 52.9%)
CIE-LABlab(27.09, 10.44, -36.39)
CIE-LCHlch(27.09, 37.86, 286.01°)
OKLaboklab(37.49% -0.0137 -0.1042)
OKLCHoklch(37.49% 0.105 262.5)
XYZxyz(5.7388, 5.1241, 18.4523)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E78 #785B21
analogous
#216A78 #213E78 #2F2178
triadic
#213E78 #78213E #3E7821
tetradic
#213E78 #78216A #785B21 #21782F
square
#213E78 #78216A #785B21 #21782F
split-complementary
#213E78 #782F21 #6A7821
monochromatic
#070C18 #142548 #213E78 #2E57A8 #4773CC

Accessibility & contrast

On white

10.37
#213E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213E78
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E78#FFFFFF#000000##FFFFFF
##213E781.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#0E3C77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213e78;
/* rgb */ color: rgb(33, 62, 120);
/* oklch */ color: oklch(37.5% 0.105 262.5);
Tailwind
colors: {
  custom: {
    50: '#68729f',
    500: '#213e78',
    950: '#000000',
  },
}
SCSS
$custom: #213e78;
$custom-light: #68729f;
$custom-dark: #000000;
JSON
{
  "hex": "#213e78",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 120
  },
  "hsl": {
    "h": 220,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.10514,
    "h": 262.5
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#213E78
secondary
#AB8B4A
accent
#AD48E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #213E78

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

Preview Lab → · Contrast checker → · Palette generator →

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