#213396#213396

#213396 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.162 H 268.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#213396
RGBrgb(33, 51, 150)
HSLhsl(231, 64%, 36%)
HSVhsv(231, 78%, 59%)
CMYKcmyk(78%, 66%, 0%, 41.2%)
CIE-LABlab(26.43, 29.80, -56.13)
CIE-LCHlch(26.43, 63.55, 297.97°)
OKLaboklab(37.75% -0.0032 -0.1624)
OKLCHoklch(37.75% 0.162 268.9)
XYZxyz(7.3141, 4.8922, 29.4071)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213396 #968421
analogous
#216D96 #213396 #492196
triadic
#213396 #962133 #339621
tetradic
#213396 #96216D #968421 #219649
square
#213396 #96216D #968421 #219649
split-complementary
#213396 #964921 #6D9621
monochromatic
#0B1132 #162264 #213396 #2C44C8 #576BDA

Accessibility & contrast

On white

10.61
#213396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#213396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213396
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213396#FFFFFF#000000##FFFFFF
##2133961.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213396;
/* rgb */ color: rgb(33, 51, 150);
/* oklch */ color: oklch(37.8% 0.162 268.9);
Tailwind
colors: {
  custom: {
    50: '#706ab6',
    500: '#213396',
    950: '#000000',
  },
}
SCSS
$custom: #213396;
$custom-light: #706ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#213396",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 230.769,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.16242,
    "h": 268.9
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#213396
secondary
#BEAE55
accent
#CD41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213396

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

Preview Lab → · Contrast checker → · Palette generator →

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