#213C85#213C85

#213C85 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.127 H 265.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#213C85
RGBrgb(33, 60, 133)
HSLhsl(224, 60%, 33%)
HSVhsv(224, 75%, 52%)
CMYKcmyk(75.2%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.43, 17.01, -43.99)
CIE-LCHlch(27.43, 47.16, 291.15°)
OKLaboklab(38.05% -0.0101 -0.1266)
OKLCHoklch(38.05% 0.127 265.4)
XYZxyz(6.4752, 5.2478, 22.8574)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C85 #856A21
analogous
#216E85 #213C85 #382185
triadic
#213C85 #85213C #3C8521
tetradic
#213C85 #85216E #856A21 #218538
square
#213C85 #85216E #856A21 #218538
split-complementary
#213C85 #853821 #6E8521
monochromatic
#091023 #152654 #213C85 #2D52B6 #4D71D3

Accessibility & contrast

On white

10.24
#213C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C85
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C85#FFFFFF#000000##FFFFFF
##213C851.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064688
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213c85;
/* rgb */ color: rgb(33, 60, 133);
/* oklch */ color: oklch(38.1% 0.127 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b71a9',
    500: '#213c85',
    950: '#000000',
  },
}
SCSS
$custom: #213c85;
$custom-light: #6b71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#213c85",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 223.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38052,
    "c": 0.12703,
    "h": 265.4
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#213C85
secondary
#B6994C
accent
#B844E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213C85

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

Preview Lab → · Contrast checker → · Palette generator →

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