#213E77#213E77

#213E77 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.104 H 262.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#213E77
RGBrgb(33, 62, 119)
HSLhsl(220, 57%, 30%)
HSVhsv(220, 72%, 47%)
CMYKcmyk(72.3%, 47.9%, 0%, 53.3%)
CIE-LABlab(27.02, 10.04, -35.87)
CIE-LCHlch(27.02, 37.25, 285.64°)
OKLaboklab(37.42% -0.0139 -0.1027)
OKLCHoklch(37.42% 0.104 262.3)
XYZxyz(5.6784, 5.0999, 18.1343)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E77 #775A21
analogous
#216977 #213E77 #2F2177
triadic
#213E77 #77213E #3E7721
tetradic
#213E77 #772169 #775A21 #21772F
square
#213E77 #772169 #775A21 #21772F
split-complementary
#213E77 #772F21 #697721
monochromatic
#070C18 #142547 #213E77 #2E57A7 #4774CC

Accessibility & contrast

On white

10.40
#213E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#213E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E77
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E77#FFFFFF#000000##FFFFFF
##213E771.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214479
Deuteranopia (green-blind)
#103C76
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213e77;
/* rgb */ color: rgb(33, 62, 119);
/* oklch */ color: oklch(37.4% 0.104 262.3);
Tailwind
colors: {
  custom: {
    50: '#68729f',
    500: '#213e77',
    950: '#000000',
  },
}
SCSS
$custom: #213e77;
$custom-light: #68729f;
$custom-dark: #000000;
JSON
{
  "hex": "#213e77",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 119
  },
  "hsl": {
    "h": 219.767,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.10364,
    "h": 262.3
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213E77

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

Preview Lab → · Contrast checker → · Palette generator →

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