#213D76#213D76

#213D76 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.103 H 262.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#213D76
RGBrgb(33, 61, 118)
HSLhsl(220, 56%, 30%)
HSVhsv(220, 72%, 46%)
CMYKcmyk(72%, 48.3%, 0%, 53.7%)
CIE-LABlab(26.64, 10.34, -35.84)
CIE-LCHlch(26.64, 37.30, 286.09°)
OKLaboklab(37.11% -0.0131 -0.1026)
OKLCHoklch(37.11% 0.103 262.7)
XYZxyz(5.5648, 4.9683, 17.8017)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D76 #765A21
analogous
#216876 #213D76 #302176
triadic
#213D76 #76213D #3D7621
tetradic
#213D76 #762168 #765A21 #217630
square
#213D76 #762168 #765A21 #217630
split-complementary
#213D76 #763021 #687621
monochromatic
#070C18 #142446 #213D76 #2E56A6 #4672CB

Accessibility & contrast

On white

10.53
#213D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213D76
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D76#FFFFFF#000000##FFFFFF
##213D761.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204378
Deuteranopia (green-blind)
#0E3B75
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213d76;
/* rgb */ color: rgb(33, 61, 118);
/* oklch */ color: oklch(37.1% 0.103 262.7);
Tailwind
colors: {
  custom: {
    50: '#67729e',
    500: '#213d76',
    950: '#000000',
  },
}
SCSS
$custom: #213d76;
$custom-light: #67729e;
$custom-dark: #000000;
JSON
{
  "hex": "#213d76",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 220.235,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37108,
    "c": 0.10345,
    "h": 262.7
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#213D76
secondary
#A98A4A
accent
#AE48E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213D76

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

Preview Lab → · Contrast checker → · Palette generator →

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