#213D8A#213D8A

#213D8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.133 H 265.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#213D8A
RGBrgb(33, 61, 138)
HSLhsl(224, 61%, 34%)
HSVhsv(224, 76%, 54%)
CMYKcmyk(76.1%, 55.8%, 0%, 45.9%)
CIE-LABlab(28.10, 18.31, -46.00)
CIE-LCHlch(28.10, 49.51, 291.70°)
OKLaboklab(38.68% -0.0106 -0.1325)
OKLCHoklch(38.68% 0.133 265.4)
XYZxyz(6.8818, 5.4951, 24.7378)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D8A #8A6E21
analogous
#21718A #213D8A #39218A
triadic
#213D8A #8A213D #3D8A21
tetradic
#213D8A #8A2171 #8A6E21 #218A39
square
#213D8A #8A2171 #8A6E21 #218A39
split-complementary
#213D8A #8A3921 #718A21
monochromatic
#091127 #152759 #213D8A #2D53BB #5074D5

Accessibility & contrast

On white

10.00
#213D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#213D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D8A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D8A#FFFFFF#000000##FFFFFF
##213D8A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213d8a;
/* rgb */ color: rgb(33, 61, 138);
/* oklch */ color: oklch(38.7% 0.133 265.4);
Tailwind
colors: {
  custom: {
    50: '#6c72ad',
    500: '#213d8a',
    950: '#000000',
  },
}
SCSS
$custom: #213d8a;
$custom-light: #6c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#213d8a",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 224,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.13295,
    "h": 265.4
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#213D8A
secondary
#B99C4E
accent
#BA43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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