#213A76#213A76

#213A76 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.107 H 264.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#213A76
RGBrgb(33, 58, 118)
HSLhsl(222, 56%, 30%)
HSVhsv(222, 72%, 46%)
CMYKcmyk(72%, 50.8%, 0%, 53.7%)
CIE-LABlab(25.73, 12.44, -37.30)
CIE-LCHlch(25.73, 39.32, 288.44°)
OKLaboklab(36.41% -0.0101 -0.107)
OKLCHoklch(36.41% 0.107 264.6)
XYZxyz(5.4091, 4.6569, 17.7498)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A76 #765D21
analogous
#216576 #213A76 #332176
triadic
#213A76 #76213A #3A7621
tetradic
#213A76 #762165 #765D21 #217633
square
#213A76 #762165 #765D21 #217633
split-complementary
#213A76 #763321 #657621
monochromatic
#070C18 #142246 #213A76 #2E52A6 #466DCB

Accessibility & contrast

On white

10.87
#213A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A76
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A76#FFFFFF#000000##FFFFFF
##213A761.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#023975
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213a76;
/* rgb */ color: rgb(33, 58, 118);
/* oklch */ color: oklch(36.4% 0.107 264.6);
Tailwind
colors: {
  custom: {
    50: '#686f9e',
    500: '#213a76',
    950: '#000000',
  },
}
SCSS
$custom: #213a76;
$custom-light: #686f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#213a76",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 222.353,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36411,
    "c": 0.10745,
    "h": 264.6
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#213A76
secondary
#A98D4A
accent
#B348E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213A76

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

Preview Lab → · Contrast checker → · Palette generator →

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