#213B85#213B85

#213B85 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.128 H 265.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#213B85
RGBrgb(33, 59, 133)
HSLhsl(224, 60%, 33%)
HSVhsv(224, 75%, 52%)
CMYKcmyk(75.2%, 55.6%, 0%, 47.8%)
CIE-LABlab(27.14, 17.71, -44.45)
CIE-LCHlch(27.14, 47.85, 291.72°)
OKLaboklab(37.83% -0.0093 -0.128)
OKLCHoklch(37.83% 0.128 265.8)
XYZxyz(6.4233, 5.1440, 22.8401)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B85 #856B21
analogous
#216D85 #213B85 #392185
triadic
#213B85 #85213B #3B8521
tetradic
#213B85 #85216D #856B21 #218539
square
#213B85 #85216D #856B21 #218539
split-complementary
#213B85 #853921 #6D8521
monochromatic
#090F23 #152554 #213B85 #2D51B6 #4D70D3

Accessibility & contrast

On white

10.35
#213B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B85
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B85#FFFFFF#000000##FFFFFF
##213B851.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014588
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213b85;
/* rgb */ color: rgb(33, 59, 133);
/* oklch */ color: oklch(37.8% 0.128 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b70a9',
    500: '#213b85',
    950: '#000000',
  },
}
SCSS
$custom: #213b85;
$custom-light: #6b70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#213b85",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 133
  },
  "hsl": {
    "h": 224.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37834,
    "c": 0.12835,
    "h": 265.8
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#213B85
secondary
#B69A4C
accent
#BA44E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213B85

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

Preview Lab → · Contrast checker → · Palette generator →

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