#213F85#213F85

#213F85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.123 H 264.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#213F85
RGBrgb(33, 63, 133)
HSLhsl(222, 60%, 33%)
HSVhsv(222, 75%, 52%)
CMYKcmyk(75.2%, 52.6%, 0%, 47.8%)
CIE-LABlab(28.30, 14.93, -42.57)
CIE-LCHlch(28.30, 45.11, 289.33°)
OKLaboklab(38.71% -0.0128 -0.1224)
OKLCHoklch(38.71% 0.123 264)
XYZxyz(6.6368, 5.5711, 22.9113)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F85 #856721
analogous
#217185 #213F85 #352185
triadic
#213F85 #85213F #3F8521
tetradic
#213F85 #852171 #856721 #218535
square
#213F85 #852171 #856721 #218535
split-complementary
#213F85 #853521 #718521
monochromatic
#091123 #152854 #213F85 #2D56B6 #4D76D3

Accessibility & contrast

On white

9.93
#213F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#213F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F85
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F85#FFFFFF#000000##FFFFFF
##213F851.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134888
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213f85;
/* rgb */ color: rgb(33, 63, 133);
/* oklch */ color: oklch(38.7% 0.123 264.0);
Tailwind
colors: {
  custom: {
    50: '#6b73a9',
    500: '#213f85',
    950: '#000000',
  },
}
SCSS
$custom: #213f85;
$custom-light: #6b73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#213f85",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 222,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.12306,
    "h": 264
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#213F85
secondary
#B6964C
accent
#B444E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #213F85

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

Preview Lab → · Contrast checker → · Palette generator →

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