#213B79#213B79

#213B79 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.111 H 264.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#213B79
RGBrgb(33, 59, 121)
HSLhsl(222, 57%, 30%)
HSVhsv(222, 73%, 47%)
CMYKcmyk(72.7%, 51.2%, 0%, 52.5%)
CIE-LABlab(26.25, 12.93, -38.37)
CIE-LCHlch(26.25, 40.49, 288.62°)
OKLaboklab(36.87% -0.0106 -0.1101)
OKLCHoklch(36.87% 0.111 264.5)
XYZxyz(5.6411, 4.8312, 18.7207)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B79 #795F21
analogous
#216779 #213B79 #332179
triadic
#213B79 #79213B #3B7921
tetradic
#213B79 #792167 #795F21 #217933
square
#213B79 #792167 #795F21 #217933
split-complementary
#213B79 #793321 #677921
monochromatic
#070C19 #142449 #213B79 #2E52A9 #476FCD

Accessibility & contrast

On white

10.68
#213B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#213B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B79
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B79#FFFFFF#000000##FFFFFF
##213B791.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213b79;
/* rgb */ color: rgb(33, 59, 121);
/* oklch */ color: oklch(36.9% 0.111 264.5);
Tailwind
colors: {
  custom: {
    50: '#6870a0',
    500: '#213b79',
    950: '#000000',
  },
}
SCSS
$custom: #213b79;
$custom-light: #6870a0;
$custom-dark: #000000;
JSON
{
  "hex": "#213b79",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 222.273,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.11062,
    "h": 264.5
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#213B79
secondary
#AC8F4A
accent
#B347E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213B79

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

Preview Lab → · Contrast checker → · Palette generator →

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