#213B7A#213B7A

#213B7A is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.112 H 264.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#213B7A
RGBrgb(33, 59, 122)
HSLhsl(222, 57%, 30%)
HSVhsv(222, 73%, 48%)
CMYKcmyk(73%, 51.6%, 0%, 52.2%)
CIE-LABlab(26.32, 13.33, -38.89)
CIE-LCHlch(26.32, 41.11, 288.92°)
OKLaboklab(36.95% -0.0105 -0.1116)
OKLCHoklch(36.95% 0.112 264.6)
XYZxyz(5.7028, 4.8558, 19.0453)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B7A #7A6021
analogous
#21677A #213B7A #34217A
triadic
#213B7A #7A213B #3B7A21
tetradic
#213B7A #7A2167 #7A6021 #217A34
square
#213B7A #7A2167 #7A6021 #217A34
split-complementary
#213B7A #7A3421 #677A21
monochromatic
#070C1A #14244A #213B7A #2E52AA #486FCD

Accessibility & contrast

On white

10.65
#213B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213B7A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B7A#FFFFFF#000000##FFFFFF
##213B7A1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213b7a;
/* rgb */ color: rgb(33, 59, 122);
/* oklch */ color: oklch(36.9% 0.112 264.6);
Tailwind
colors: {
  custom: {
    50: '#6870a1',
    500: '#213b7a',
    950: '#000000',
  },
}
SCSS
$custom: #213b7a;
$custom-light: #6870a1;
$custom-dark: #000000;
JSON
{
  "hex": "#213b7a",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 222.472,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36949,
    "c": 0.11211,
    "h": 264.6
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#213B7A
secondary
#AD904A
accent
#B447E1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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