#213E8D#213E8D

#213E8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.136 H 265.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#213E8D
RGBrgb(33, 62, 141)
HSLhsl(224, 62%, 34%)
HSVhsv(224, 77%, 55%)
CMYKcmyk(76.6%, 56%, 0%, 44.7%)
CIE-LABlab(28.62, 18.80, -47.02)
CIE-LCHlch(28.62, 50.64, 291.80°)
OKLaboklab(39.15% -0.0111 -0.1355)
OKLCHoklch(39.15% 0.136 265.3)
XYZxyz(7.1558, 5.6909, 25.9155)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E8D #8D7021
analogous
#21748D #213E8D #3A218D
triadic
#213E8D #8D213E #3E8D21
tetradic
#213E8D #8D2174 #8D7021 #218D3A
square
#213E8D #8D2174 #8D7021 #218D3A
split-complementary
#213E8D #8D3A21 #748D21
monochromatic
#0A122A #15285B #213E8D #2D54BF #5276D6

Accessibility & contrast

On white

9.82
#213E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#213E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E8D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E8D#FFFFFF#000000##FFFFFF
##213E8D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213e8d;
/* rgb */ color: rgb(33, 62, 141);
/* oklch */ color: oklch(39.1% 0.136 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d72af',
    500: '#213e8d',
    950: '#000000',
  },
}
SCSS
$custom: #213e8d;
$custom-light: #6d72af;
$custom-dark: #000000;
JSON
{
  "hex": "#213e8d",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 223.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39146,
    "c": 0.13595,
    "h": 265.3
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#213E8D
secondary
#BA9D50
accent
#BA43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #213E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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