#213096#213096

#213096 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.166 H 269.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#213096
RGBrgb(33, 48, 150)
HSLhsl(232, 64%, 36%)
HSVhsv(232, 78%, 59%)
CMYKcmyk(78%, 68%, 0%, 41.2%)
CIE-LABlab(25.68, 31.79, -57.36)
CIE-LCHlch(25.68, 65.57, 298.99°)
OKLaboklab(37.21% -0.0015 -0.166)
OKLCHoklch(37.21% 0.166 269.5)
XYZxyz(7.1873, 4.6385, 29.3648)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213096 #968721
analogous
#216A96 #213096 #4C2196
triadic
#213096 #962130 #309621
tetradic
#213096 #96216A #968721 #21964C
square
#213096 #96216A #968721 #21964C
split-complementary
#213096 #964C21 #6A9621
monochromatic
#0B1032 #162064 #213096 #2C40C8 #5768DA

Accessibility & contrast

On white

10.89
#213096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213096
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213096#FFFFFF#000000##FFFFFF
##2130961.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213096;
/* rgb */ color: rgb(33, 48, 150);
/* oklch */ color: oklch(37.2% 0.166 269.5);
Tailwind
colors: {
  custom: {
    50: '#7068b6',
    500: '#213096',
    950: '#000000',
  },
}
SCSS
$custom: #213096;
$custom-light: #7068b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213096",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 232.308,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37205,
    "c": 0.166,
    "h": 269.5
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#213096
secondary
#BEB155
accent
#D241E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213096

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

Preview Lab → · Contrast checker → · Palette generator →

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