#213E8E#213E8E

#213E8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.137 H 265.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#213E8E
RGBrgb(33, 62, 142)
HSLhsl(224, 62%, 34%)
HSVhsv(224, 77%, 56%)
CMYKcmyk(76.8%, 56.3%, 0%, 44.3%)
CIE-LABlab(28.70, 19.20, -47.51)
CIE-LCHlch(28.70, 51.24, 292.01°)
OKLaboklab(39.23% -0.0111 -0.1369)
OKLCHoklch(39.23% 0.137 265.4)
XYZxyz(7.2306, 5.7208, 26.3091)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E8E #8E7121
analogous
#21758E #213E8E #3B218E
triadic
#213E8E #8E213E #3E8E21
tetradic
#213E8E #8E2175 #8E7121 #218E3B
square
#213E8E #8E2175 #8E7121 #218E3B
split-complementary
#213E8E #8E3B21 #758E21
monochromatic
#0A132B #15285C #213E8E #2D54C0 #5276D7

Accessibility & contrast

On white

9.79
#213E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213E8E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E8E#FFFFFF#000000##FFFFFF
##213E8E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213e8e;
/* rgb */ color: rgb(33, 62, 142);
/* oklch */ color: oklch(39.2% 0.137 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d72b0',
    500: '#213e8e',
    950: '#000000',
  },
}
SCSS
$custom: #213e8e;
$custom-light: #6d72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#213e8e",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 224.037,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.13738,
    "h": 265.4
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#213E8E
secondary
#BA9E50
accent
#BA42E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #213E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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