#213E86#213E86

#213E86 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.126 H 264.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#213E86
RGBrgb(33, 62, 134)
HSLhsl(223, 60%, 33%)
HSVhsv(223, 75%, 53%)
CMYKcmyk(75.4%, 53.7%, 0%, 47.5%)
CIE-LABlab(28.09, 16.02, -43.55)
CIE-LCHlch(28.09, 46.40, 290.20°)
OKLaboklab(38.57% -0.0118 -0.1253)
OKLCHoklch(38.57% 0.126 264.6)
XYZxyz(6.6514, 5.4891, 23.2586)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E86 #866921
analogous
#217186 #213E86 #362186
triadic
#213E86 #86213E #3E8621
tetradic
#213E86 #862171 #866921 #218636
square
#213E86 #862171 #866921 #218636
split-complementary
#213E86 #863621 #718621
monochromatic
#091124 #152755 #213E86 #2D55B7 #4E74D3

Accessibility & contrast

On white

10.01
#213E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#213E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E86
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E86#FFFFFF#000000##FFFFFF
##213E861.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213e86;
/* rgb */ color: rgb(33, 62, 134);
/* oklch */ color: oklch(38.6% 0.126 264.6);
Tailwind
colors: {
  custom: {
    50: '#6b72aa',
    500: '#213e86',
    950: '#000000',
  },
}
SCSS
$custom: #213e86;
$custom-light: #6b72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#213e86",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 222.772,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38573,
    "c": 0.12584,
    "h": 264.6
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#213E86
secondary
#B7984C
accent
#B644E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #213E86

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

Preview Lab → · Contrast checker → · Palette generator →

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