#213E8A#213E8A

#213E8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.132 H 265.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#213E8A
RGBrgb(33, 62, 138)
HSLhsl(223, 61%, 34%)
HSVhsv(223, 76%, 54%)
CMYKcmyk(76.1%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.39, 17.61, -45.54)
CIE-LCHlch(28.39, 48.83, 291.15°)
OKLaboklab(38.9% -0.0114 -0.1311)
OKLCHoklch(38.9% 0.132 265)
XYZxyz(6.9357, 5.6028, 24.7558)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E8A #8A6D21
analogous
#21728A #213E8A #38218A
triadic
#213E8A #8A213E #3E8A21
tetradic
#213E8A #8A2172 #8A6D21 #218A38
square
#213E8A #8A2172 #8A6D21 #218A38
split-complementary
#213E8A #8A3821 #728A21
monochromatic
#091227 #152859 #213E8A #2D54BB #5075D5

Accessibility & contrast

On white

9.90
#213E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#213E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E8A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E8A#FFFFFF#000000##FFFFFF
##213E8A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03488D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213e8a;
/* rgb */ color: rgb(33, 62, 138);
/* oklch */ color: oklch(38.9% 0.132 265.0);
Tailwind
colors: {
  custom: {
    50: '#6c72ad',
    500: '#213e8a',
    950: '#000000',
  },
}
SCSS
$custom: #213e8a;
$custom-light: #6c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#213e8a",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 223.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38898,
    "c": 0.13164,
    "h": 265
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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