#213596#213596

#213596 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.160 H 268.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#213596
RGBrgb(33, 53, 150)
HSLhsl(230, 64%, 36%)
HSVhsv(230, 78%, 59%)
CMYKcmyk(78%, 64.7%, 0%, 41.2%)
CIE-LABlab(26.94, 28.47, -55.30)
CIE-LCHlch(26.94, 62.19, 297.24°)
OKLaboklab(38.13% -0.0045 -0.1599)
OKLCHoklch(38.13% 0.16 268.4)
XYZxyz(7.4034, 5.0707, 29.4368)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213596 #968221
analogous
#216F96 #213596 #482196
triadic
#213596 #962135 #359621
tetradic
#213596 #96216F #968221 #219648
square
#213596 #96216F #968221 #219648
split-complementary
#213596 #964821 #6F9621
monochromatic
#0B1232 #162364 #213596 #2C47C8 #576EDA

Accessibility & contrast

On white

10.42
#213596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#213596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213596
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213596#FFFFFF#000000##FFFFFF
##2135961.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213596;
/* rgb */ color: rgb(33, 53, 150);
/* oklch */ color: oklch(38.1% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#706cb6',
    500: '#213596',
    950: '#000000',
  },
}
SCSS
$custom: #213596;
$custom-light: #706cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#213596",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 229.744,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38126,
    "c": 0.15999,
    "h": 268.4
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#213596
secondary
#BEAC55
accent
#CB41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213596

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

Preview Lab → · Contrast checker → · Palette generator →

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