#213393#213393

#213393 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.158 H 268.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#213393
RGBrgb(33, 51, 147)
HSLhsl(231, 63%, 35%)
HSVhsv(231, 78%, 58%)
CMYKcmyk(77.6%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.15, 28.66, -54.74)
CIE-LCHlch(26.15, 61.79, 297.64°)
OKLaboklab(37.46% -0.0031 -0.1583)
OKLCHoklch(37.46% 0.158 268.9)
XYZxyz(7.0757, 4.7968, 28.1511)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213393 #938121
analogous
#216C93 #213393 #482193
triadic
#213393 #932133 #339321
tetradic
#213393 #93216C #938121 #219348
square
#213393 #93216C #938121 #219348
split-complementary
#213393 #934821 #6C9321
monochromatic
#0B102F #162261 #213393 #2C44C5 #556AD9

Accessibility & contrast

On white

10.72
#213393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#213393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213393
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213393#FFFFFF#000000##FFFFFF
##2133931.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213393;
/* rgb */ color: rgb(33, 51, 147);
/* oklch */ color: oklch(37.5% 0.158 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ab4',
    500: '#213393',
    950: '#000000',
  },
}
SCSS
$custom: #213393;
$custom-light: #6f6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#213393",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 230.526,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37462,
    "c": 0.15835,
    "h": 268.9
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#213393
secondary
#BDAC53
accent
#CC41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213393

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

Preview Lab → · Contrast checker → · Palette generator →

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