#215196#215196

#215196 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.125 H 258.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#215196
RGBrgb(33, 81, 150)
HSLhsl(215, 64%, 36%)
HSVhsv(215, 78%, 59%)
CMYKcmyk(78%, 46%, 0%, 41.2%)
CIE-LABlab(34.82, 9.45, -42.51)
CIE-LCHlch(34.82, 43.55, 282.54°)
OKLaboklab(44.09% -0.0259 -0.1219)
OKLCHoklch(44.09% 0.125 258)
XYZxyz(9.0726, 8.4092, 29.9932)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215196 #966621
analogous
#218B96 #215196 #2C2196
triadic
#215196 #962151 #519621
tetradic
#215196 #96218B #966621 #21962C
square
#215196 #96218B #966621 #21962C
split-complementary
#215196 #962C21 #8B9621
monochromatic
#0B1B32 #163664 #215196 #2C6CC8 #578DDA

Accessibility & contrast

On white

7.83
#215196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#215196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215196
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215196#FFFFFF#000000##FFFFFF
##2151961.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #215196;
/* rgb */ color: rgb(33, 81, 150);
/* oklch */ color: oklch(44.1% 0.125 258.0);
Tailwind
colors: {
  custom: {
    50: '#6e81b5',
    500: '#215196',
    950: '#000000',
  },
}
SCSS
$custom: #215196;
$custom-light: #6e81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#215196",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 215.385,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44089,
    "c": 0.1246,
    "h": 258
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#215196
secondary
#BE9355
accent
#A341E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #215196

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

Preview Lab → · Contrast checker → · Palette generator →

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