#213E8B#213E8B

#213E8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.133 H 265.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#213E8B
RGBrgb(33, 62, 139)
HSLhsl(224, 62%, 34%)
HSVhsv(224, 76%, 55%)
CMYKcmyk(76.3%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.46, 18.01, -46.03)
CIE-LCHlch(28.46, 49.43, 291.37°)
OKLaboklab(38.98% -0.0113 -0.1326)
OKLCHoklch(38.98% 0.133 265.1)
XYZxyz(7.0084, 5.6319, 25.1388)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E8B #8B6E21
analogous
#21738B #213E8B #39218B
triadic
#213E8B #8B213E #3E8B21
tetradic
#213E8B #8B2173 #8B6E21 #218B39
square
#213E8B #8B2173 #8B6E21 #218B39
split-complementary
#213E8B #8B3921 #738B21
monochromatic
#0A1228 #15285A #213E8B #2D54BC #5175D6

Accessibility & contrast

On white

9.87
#213E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#213E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E8B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E8B#FFFFFF#000000##FFFFFF
##213E8B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213e8b;
/* rgb */ color: rgb(33, 62, 139);
/* oklch */ color: oklch(39.0% 0.133 265.1);
Tailwind
colors: {
  custom: {
    50: '#6c72ad',
    500: '#213e8b',
    950: '#000000',
  },
}
SCSS
$custom: #213e8b;
$custom-light: #6c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#213e8b",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 223.585,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3898,
    "c": 0.13308,
    "h": 265.1
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#213E8B
secondary
#B99C4F
accent
#B843E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #213E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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