#213896#213896

#213896 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.156 H 267.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#213896
RGBrgb(33, 56, 150)
HSLhsl(228, 64%, 36%)
HSVhsv(228, 78%, 59%)
CMYKcmyk(78%, 62.7%, 0%, 41.2%)
CIE-LABlab(27.72, 26.45, -54.02)
CIE-LCHlch(27.72, 60.14, 296.09°)
OKLaboklab(38.7% -0.0064 -0.1561)
OKLCHoklch(38.7% 0.156 267.6)
XYZxyz(7.5445, 5.3528, 29.4838)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213896 #967F21
analogous
#217296 #213896 #442196
triadic
#213896 #962138 #389621
tetradic
#213896 #962172 #967F21 #219644
square
#213896 #962172 #967F21 #219644
split-complementary
#213896 #964421 #729621
monochromatic
#0B1332 #162564 #213896 #2C4BC8 #5771DA

Accessibility & contrast

On white

10.14
#213896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213896
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213896#FFFFFF#000000##FFFFFF
##2138961.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213896;
/* rgb */ color: rgb(33, 56, 150);
/* oklch */ color: oklch(38.7% 0.156 267.6);
Tailwind
colors: {
  custom: {
    50: '#706eb6',
    500: '#213896',
    950: '#000000',
  },
}
SCSS
$custom: #213896;
$custom-light: #706eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#213896",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 228.205,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38704,
    "c": 0.15627,
    "h": 267.6
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#213896
secondary
#BEA955
accent
#C641E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213896

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

Preview Lab → · Contrast checker → · Palette generator →

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