#213E81#213E81

#213E81 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.119 H 264.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#213E81
RGBrgb(33, 62, 129)
HSLhsl(222, 59%, 32%)
HSVhsv(222, 74%, 51%)
CMYKcmyk(74.4%, 51.9%, 0%, 49.4%)
CIE-LABlab(27.72, 14.03, -41.03)
CIE-LCHlch(27.72, 43.36, 288.88°)
OKLaboklab(38.18% -0.0124 -0.1179)
OKLCHoklch(38.18% 0.119 264)
XYZxyz(6.3109, 5.3529, 21.4652)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E81 #816421
analogous
#216E81 #213E81 #342181
triadic
#213E81 #81213E #3E8121
tetradic
#213E81 #81216E #816421 #218134
square
#213E81 #81216E #816421 #218134
split-complementary
#213E81 #813421 #6E8121
monochromatic
#080F20 #152750 #213E81 #2D55B2 #4B74D1

Accessibility & contrast

On white

10.14
#213E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#213E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E81
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E81#FFFFFF#000000##FFFFFF
##213E811.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213e81;
/* rgb */ color: rgb(33, 62, 129);
/* oklch */ color: oklch(38.2% 0.119 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a72a6',
    500: '#213e81',
    950: '#000000',
  },
}
SCSS
$custom: #213e81;
$custom-light: #6a72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#213e81",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 221.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38176,
    "c": 0.11852,
    "h": 264
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#213E81
secondary
#B4944A
accent
#B345E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #213E81

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

Preview Lab → · Contrast checker → · Palette generator →

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