#213999#213999

#213999 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.159 H 267.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#213999
RGBrgb(33, 57, 153)
HSLhsl(228, 65%, 36%)
HSVhsv(228, 78%, 60%)
CMYKcmyk(78.4%, 62.7%, 0%, 40%)
CIE-LABlab(28.24, 26.93, -54.99)
CIE-LCHlch(28.24, 61.23, 296.09°)
OKLaboklab(39.18% -0.0071 -0.159)
OKLCHoklch(39.18% 0.159 267.4)
XYZxyz(7.8381, 5.5486, 30.7887)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213999 #998121
analogous
#217599 #213999 #452199
triadic
#213999 #992139 #399921
tetradic
#213999 #992175 #998121 #219945
square
#213999 #992175 #998121 #219945
split-complementary
#213999 #994521 #759921
monochromatic
#0B1334 #162667 #213999 #2C4CCB #5973DB

Accessibility & contrast

On white

9.95
#213999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#213999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213999
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213999#FFFFFF#000000##FFFFFF
##2139991.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213999;
/* rgb */ color: rgb(33, 57, 153);
/* oklch */ color: oklch(39.2% 0.159 267.4);
Tailwind
colors: {
  custom: {
    50: '#706fb8',
    500: '#213999',
    950: '#000000',
  },
}
SCSS
$custom: #213999;
$custom-light: #706fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#213999",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 153
  },
  "hsl": {
    "h": 228,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39176,
    "c": 0.15915,
    "h": 267.4
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#213999
secondary
#BFAA56
accent
#C640E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213999

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

Preview Lab → · Contrast checker → · Palette generator →

#213999 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva