#213C79#213C79

#213C79 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.109 H 263.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#213C79
RGBrgb(33, 60, 121)
HSLhsl(222, 57%, 30%)
HSVhsv(222, 73%, 47%)
CMYKcmyk(72.7%, 50.4%, 0%, 52.5%)
CIE-LABlab(26.55, 12.23, -37.89)
CIE-LCHlch(26.55, 39.81, 287.89°)
OKLaboklab(37.1% -0.0116 -0.1087)
OKLCHoklch(37.1% 0.109 263.9)
XYZxyz(5.6930, 4.9349, 18.7380)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C79 #795E21
analogous
#216879 #213C79 #322179
triadic
#213C79 #79213C #3C7921
tetradic
#213C79 #792168 #795E21 #217932
square
#213C79 #792168 #795E21 #217932
split-complementary
#213C79 #793221 #687921
monochromatic
#070C19 #142449 #213C79 #2E54A9 #4770CD

Accessibility & contrast

On white

10.57
#213C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#213C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C79
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C79#FFFFFF#000000##FFFFFF
##213C791.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#033B78
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213c79;
/* rgb */ color: rgb(33, 60, 121);
/* oklch */ color: oklch(37.1% 0.109 263.9);
Tailwind
colors: {
  custom: {
    50: '#6871a0',
    500: '#213c79',
    950: '#000000',
  },
}
SCSS
$custom: #213c79;
$custom-light: #6871a0;
$custom-dark: #000000;
JSON
{
  "hex": "#213c79",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 221.591,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37101,
    "c": 0.10929,
    "h": 263.9
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#213C79
secondary
#AC8E4A
accent
#B147E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213C79

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

Preview Lab → · Contrast checker → · Palette generator →

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