#213B78#213B78

#213B78 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.109 H 264.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#213B78
RGBrgb(33, 59, 120)
HSLhsl(222, 57%, 30%)
HSVhsv(222, 73%, 47%)
CMYKcmyk(72.5%, 50.8%, 0%, 52.9%)
CIE-LABlab(26.18, 12.53, -37.85)
CIE-LCHlch(26.18, 39.87, 288.32°)
OKLaboklab(36.8% -0.0108 -0.1086)
OKLCHoklch(36.8% 0.109 264.3)
XYZxyz(5.5801, 4.8068, 18.3994)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B78 #785E21
analogous
#216778 #213B78 #322178
triadic
#213B78 #78213B #3B7821
tetradic
#213B78 #782167 #785E21 #217832
square
#213B78 #782167 #785E21 #217832
split-complementary
#213B78 #783221 #677821
monochromatic
#070C18 #142348 #213B78 #2E53A8 #476FCC

Accessibility & contrast

On white

10.71
#213B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213B78
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B78#FFFFFF#000000##FFFFFF
##213B781.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#013A77
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213b78;
/* rgb */ color: rgb(33, 59, 120);
/* oklch */ color: oklch(36.8% 0.109 264.3);
Tailwind
colors: {
  custom: {
    50: '#68709f',
    500: '#213b78',
    950: '#000000',
  },
}
SCSS
$custom: #213b78;
$custom-light: #68709f;
$custom-dark: #000000;
JSON
{
  "hex": "#213b78",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 222.069,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.36795,
    "c": 0.10912,
    "h": 264.3
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#213B78
secondary
#AB8E4A
accent
#B348E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213B78

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

Preview Lab → · Contrast checker → · Palette generator →

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