#213196#213196

#213196 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.165 H 269.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#213196
RGBrgb(33, 49, 150)
HSLhsl(232, 64%, 36%)
HSVhsv(232, 78%, 59%)
CMYKcmyk(78%, 67.3%, 0%, 41.2%)
CIE-LABlab(25.93, 31.13, -56.95)
CIE-LCHlch(25.93, 64.90, 298.66°)
OKLaboklab(37.39% -0.0021 -0.1648)
OKLCHoklch(37.39% 0.165 269.3)
XYZxyz(7.2286, 4.7212, 29.3786)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213196 #968621
analogous
#216B96 #213196 #4B2196
triadic
#213196 #962131 #319621
tetradic
#213196 #96216B #968621 #21964B
square
#213196 #96216B #968621 #21964B
split-complementary
#213196 #964B21 #6B9621
monochromatic
#0B1032 #162164 #213196 #2C41C8 #5769DA

Accessibility & contrast

On white

10.80
#213196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213196
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213196#FFFFFF#000000##FFFFFF
##2131961.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213196;
/* rgb */ color: rgb(33, 49, 150);
/* oklch */ color: oklch(37.4% 0.165 269.3);
Tailwind
colors: {
  custom: {
    50: '#7069b6',
    500: '#213196',
    950: '#000000',
  },
}
SCSS
$custom: #213196;
$custom-light: #7069b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213196",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 231.795,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37385,
    "c": 0.16481,
    "h": 269.3
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#213196
secondary
#BEB055
accent
#D041E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213196

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

Preview Lab → · Contrast checker → · Palette generator →

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