#213D88#213D88

#213D88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.130 H 265.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#213D88
RGBrgb(33, 61, 136)
HSLhsl(224, 61%, 33%)
HSVhsv(224, 76%, 53%)
CMYKcmyk(75.7%, 55.1%, 0%, 46.7%)
CIE-LABlab(27.95, 17.51, -45.01)
CIE-LCHlch(27.95, 48.30, 291.26°)
OKLaboklab(38.52% -0.0107 -0.1296)
OKLCHoklch(38.52% 0.13 265.3)
XYZxyz(6.7383, 5.4377, 23.9822)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D88 #886C21
analogous
#217088 #213D88 #382188
triadic
#213D88 #88213D #3D8821
tetradic
#213D88 #882170 #886C21 #218838
square
#213D88 #882170 #886C21 #218838
split-complementary
#213D88 #883821 #708821
monochromatic
#091125 #152757 #213D88 #2D53B9 #4F73D4

Accessibility & contrast

On white

10.06
#213D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#213D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D88
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D88#FFFFFF#000000##FFFFFF
##213D881.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478B
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213d88;
/* rgb */ color: rgb(33, 61, 136);
/* oklch */ color: oklch(38.5% 0.130 265.3);
Tailwind
colors: {
  custom: {
    50: '#6c72ab',
    500: '#213d88',
    950: '#000000',
  },
}
SCSS
$custom: #213d88;
$custom-light: #6c72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#213d88",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 223.689,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.13006,
    "h": 265.3
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#213D88
secondary
#B89B4D
accent
#B844E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213D88

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

Preview Lab → · Contrast checker → · Palette generator →

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