#213F86#213F86

#213F86 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.125 H 264.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#213F86
RGBrgb(33, 63, 134)
HSLhsl(222, 60%, 33%)
HSVhsv(222, 75%, 53%)
CMYKcmyk(75.4%, 53%, 0%, 47.5%)
CIE-LABlab(28.38, 15.33, -43.08)
CIE-LCHlch(28.38, 45.72, 289.59°)
OKLaboklab(38.8% -0.0126 -0.1239)
OKLCHoklch(38.8% 0.125 264.2)
XYZxyz(6.7063, 5.5989, 23.2769)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F86 #866821
analogous
#217286 #213F86 #352186
triadic
#213F86 #86213F #3F8621
tetradic
#213F86 #862172 #866821 #218635
square
#213F86 #862172 #866821 #218635
split-complementary
#213F86 #863521 #728621
monochromatic
#091124 #152855 #213F86 #2D56B7 #4E76D3

Accessibility & contrast

On white

9.91
#213F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213F86
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F86#FFFFFF#000000##FFFFFF
##213F861.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213f86;
/* rgb */ color: rgb(33, 63, 134);
/* oklch */ color: oklch(38.8% 0.125 264.2);
Tailwind
colors: {
  custom: {
    50: '#6b73aa',
    500: '#213f86',
    950: '#000000',
  },
}
SCSS
$custom: #213f86;
$custom-light: #6b73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#213f86",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 222.178,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.12452,
    "h": 264.2
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#213F86
secondary
#B7974C
accent
#B444E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #213F86

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

Preview Lab → · Contrast checker → · Palette generator →

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