#213B76#213B76

#213B76 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.106 H 264.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#213B76
RGBrgb(33, 59, 118)
HSLhsl(222, 56%, 30%)
HSVhsv(222, 72%, 46%)
CMYKcmyk(72%, 50%, 0%, 53.7%)
CIE-LABlab(26.04, 11.74, -36.81)
CIE-LCHlch(26.04, 38.64, 287.68°)
OKLaboklab(36.64% -0.0111 -0.1055)
OKLCHoklch(36.64% 0.106 264)
XYZxyz(5.4600, 4.7587, 17.7668)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B76 #765C21
analogous
#216676 #213B76 #322176
triadic
#213B76 #76213B #3B7621
tetradic
#213B76 #762166 #765C21 #217632
square
#213B76 #762166 #765C21 #217632
split-complementary
#213B76 #763221 #667621
monochromatic
#070C18 #142346 #213B76 #2E53A6 #466FCB

Accessibility & contrast

On white

10.76
#213B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#213B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B76
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B76#FFFFFF#000000##FFFFFF
##213B761.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#063A75
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213b76;
/* rgb */ color: rgb(33, 59, 118);
/* oklch */ color: oklch(36.6% 0.106 264.0);
Tailwind
colors: {
  custom: {
    50: '#68709e',
    500: '#213b76',
    950: '#000000',
  },
}
SCSS
$custom: #213b76;
$custom-light: #68709e;
$custom-dark: #000000;
JSON
{
  "hex": "#213b76",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 118
  },
  "hsl": {
    "h": 221.647,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36642,
    "c": 0.10611,
    "h": 264
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#213B76
secondary
#A98C4A
accent
#B148E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213B76

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

Preview Lab → · Contrast checker → · Palette generator →

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