#213D7A#213D7A

#213D7A is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.109 H 263.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#213D7A
RGBrgb(33, 61, 122)
HSLhsl(221, 57%, 30%)
HSVhsv(221, 73%, 48%)
CMYKcmyk(73%, 50%, 0%, 52.2%)
CIE-LABlab(26.92, 11.93, -37.92)
CIE-LCHlch(26.92, 39.75, 287.47°)
OKLaboklab(37.41% -0.0124 -0.1087)
OKLCHoklch(37.41% 0.109 263.5)
XYZxyz(5.8076, 5.0654, 19.0802)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D7A #7A5E21
analogous
#21697A #213D7A #32217A
triadic
#213D7A #7A213D #3D7A21
tetradic
#213D7A #7A2169 #7A5E21 #217A32
square
#213D7A #7A2169 #7A5E21 #217A32
split-complementary
#213D7A #7A3221 #697A21
monochromatic
#070D1A #14254A #213D7A #2E55AA #4872CD

Accessibility & contrast

On white

10.43
#213D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#213D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D7A
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D7A#FFFFFF#000000##FFFFFF
##213D7A1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447C
Deuteranopia (green-blind)
#053C79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213d7a;
/* rgb */ color: rgb(33, 61, 122);
/* oklch */ color: oklch(37.4% 0.109 263.5);
Tailwind
colors: {
  custom: {
    50: '#6872a1',
    500: '#213d7a',
    950: '#000000',
  },
}
SCSS
$custom: #213d7a;
$custom-light: #6872a1;
$custom-dark: #000000;
JSON
{
  "hex": "#213d7a",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 221.124,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37408,
    "c": 0.10945,
    "h": 263.5
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#213D7A
secondary
#AD8E4A
accent
#B047E1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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