#213595#213595

#213595 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.159 H 268.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#213595
RGBrgb(33, 53, 149)
HSLhsl(230, 64%, 36%)
HSVhsv(230, 78%, 58%)
CMYKcmyk(77.9%, 64.4%, 0%, 41.6%)
CIE-LABlab(26.84, 28.08, -54.83)
CIE-LCHlch(26.84, 61.60, 297.12°)
OKLaboklab(38.03% -0.0044 -0.1586)
OKLCHoklch(38.03% 0.159 268.4)
XYZxyz(7.3232, 5.0387, 29.0145)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213595 #958121
analogous
#216F95 #213595 #472195
triadic
#213595 #952135 #359521
tetradic
#213595 #95216F #958121 #219547
square
#213595 #95216F #958121 #219547
split-complementary
#213595 #954721 #6F9521
monochromatic
#0B1131 #162363 #213595 #2C47C7 #576DDA

Accessibility & contrast

On white

10.46
#213595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213595
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213595#FFFFFF#000000##FFFFFF
##2135951.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213595;
/* rgb */ color: rgb(33, 53, 149);
/* oklch */ color: oklch(38.0% 0.159 268.4);
Tailwind
colors: {
  custom: {
    50: '#706cb5',
    500: '#213595',
    950: '#000000',
  },
}
SCSS
$custom: #213595;
$custom-light: #706cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#213595",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 229.655,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.15862,
    "h": 268.4
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#213595
secondary
#BEAB54
accent
#CA41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213595

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

Preview Lab → · Contrast checker → · Palette generator →

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