#213696#213696

#213696 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.159 H 268.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#213696
RGBrgb(33, 54, 150)
HSLhsl(229, 64%, 36%)
HSVhsv(229, 78%, 59%)
CMYKcmyk(78%, 64%, 0%, 41.2%)
CIE-LABlab(27.19, 27.80, -54.87)
CIE-LCHlch(27.19, 61.51, 296.87°)
OKLaboklab(38.32% -0.0051 -0.1587)
OKLCHoklch(38.32% 0.159 268.2)
XYZxyz(7.4495, 5.1628, 29.4522)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213696 #968121
analogous
#217096 #213696 #462196
triadic
#213696 #962136 #369621
tetradic
#213696 #962170 #968121 #219646
square
#213696 #962170 #968121 #219646
split-complementary
#213696 #964621 #709621
monochromatic
#0B1232 #162464 #213696 #2C48C8 #576FDA

Accessibility & contrast

On white

10.33
#213696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213696
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213696#FFFFFF#000000##FFFFFF
##2136961.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213696;
/* rgb */ color: rgb(33, 54, 150);
/* oklch */ color: oklch(38.3% 0.159 268.2);
Tailwind
colors: {
  custom: {
    50: '#706cb6',
    500: '#213696',
    950: '#000000',
  },
}
SCSS
$custom: #213696;
$custom-light: #706cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#213696",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 229.231,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38317,
    "c": 0.15876,
    "h": 268.2
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#213696
secondary
#BEAB55
accent
#C941E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213696

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

Preview Lab → · Contrast checker → · Palette generator →

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