#213992#213992

#213992 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.149 H 267.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#213992
RGBrgb(33, 57, 146)
HSLhsl(227, 63%, 35%)
HSVhsv(227, 77%, 57%)
CMYKcmyk(77.4%, 61%, 0%, 42.7%)
CIE-LABlab(27.64, 24.21, -51.69)
CIE-LCHlch(27.64, 57.08, 295.10°)
OKLaboklab(38.54% -0.0071 -0.1493)
OKLCHoklch(38.54% 0.149 267.3)
XYZxyz(7.2768, 5.3241, 27.8327)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213992 #927A21
analogous
#217192 #213992 #422192
triadic
#213992 #922139 #399221
tetradic
#213992 #922171 #927A21 #219242
square
#213992 #922171 #927A21 #219242
split-complementary
#213992 #924221 #719221
monochromatic
#0A122E #162660 #213992 #2C4CC4 #5571D9

Accessibility & contrast

On white

10.17
#213992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#213992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213992
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213992#FFFFFF#000000##FFFFFF
##2139921.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213992;
/* rgb */ color: rgb(33, 57, 146);
/* oklch */ color: oklch(38.5% 0.149 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb3',
    500: '#213992',
    950: '#000000',
  },
}
SCSS
$custom: #213992;
$custom-light: #6f6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#213992",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 227.257,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38538,
    "c": 0.14948,
    "h": 267.3
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#213992
secondary
#BCA653
accent
#C342E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213992

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

Preview Lab → · Contrast checker → · Palette generator →

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