#213D85#213D85

#213D85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.126 H 265.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#213D85
RGBrgb(33, 61, 133)
HSLhsl(223, 60%, 33%)
HSVhsv(223, 75%, 52%)
CMYKcmyk(75.2%, 54.1%, 0%, 47.8%)
CIE-LABlab(27.72, 16.32, -43.52)
CIE-LCHlch(27.72, 46.48, 290.56°)
OKLaboklab(38.27% -0.011 -0.1252)
OKLCHoklch(38.27% 0.126 265)
XYZxyz(6.5281, 5.3536, 22.8751)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D85 #856921
analogous
#216F85 #213D85 #372185
triadic
#213D85 #85213D #3D8521
tetradic
#213D85 #85216F #856921 #218537
square
#213D85 #85216F #856921 #218537
split-complementary
#213D85 #853721 #6F8521
monochromatic
#091023 #152754 #213D85 #2D53B6 #4D73D3

Accessibility & contrast

On white

10.14
#213D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#213D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D85
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D85#FFFFFF#000000##FFFFFF
##213D851.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213d85;
/* rgb */ color: rgb(33, 61, 133);
/* oklch */ color: oklch(38.3% 0.126 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b72a9',
    500: '#213d85',
    950: '#000000',
  },
}
SCSS
$custom: #213d85;
$custom-light: #6b72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#213d85",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 223.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38271,
    "c": 0.1257,
    "h": 265
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#213D85
secondary
#B6984C
accent
#B744E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #213D85

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

Preview Lab → · Contrast checker → · Palette generator →

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