#213B77#213B77

#213B77 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.108 H 264.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#213B77
RGBrgb(33, 59, 119)
HSLhsl(222, 57%, 30%)
HSVhsv(222, 72%, 47%)
CMYKcmyk(72.3%, 50.4%, 0%, 53.3%)
CIE-LABlab(26.11, 12.13, -37.33)
CIE-LCHlch(26.11, 39.26, 288.01°)
OKLaboklab(36.72% -0.0109 -0.1071)
OKLCHoklch(36.72% 0.108 264.2)
XYZxyz(5.5198, 4.7826, 18.0814)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B77 #775D21
analogous
#216677 #213B77 #322177
triadic
#213B77 #77213B #3B7721
tetradic
#213B77 #772166 #775D21 #217732
square
#213B77 #772166 #775D21 #217732
split-complementary
#213B77 #773221 #667721
monochromatic
#070C18 #142347 #213B77 #2E53A7 #476FCC

Accessibility & contrast

On white

10.73
#213B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#213B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B77
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B77#FFFFFF#000000##FFFFFF
##213B771.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4279
Deuteranopia (green-blind)
#043A76
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213b77;
/* rgb */ color: rgb(33, 59, 119);
/* oklch */ color: oklch(36.7% 0.108 264.2);
Tailwind
colors: {
  custom: {
    50: '#68709f',
    500: '#213b77',
    950: '#000000',
  },
}
SCSS
$custom: #213b77;
$custom-light: #68709f;
$custom-dark: #000000;
JSON
{
  "hex": "#213b77",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 119
  },
  "hsl": {
    "h": 221.86,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36718,
    "c": 0.10762,
    "h": 264.2
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#213B77
secondary
#AA8D4A
accent
#B248E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213B77

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

Preview Lab → · Contrast checker → · Palette generator →

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