#213D96#213D96

#213D96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.150 H 266.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#213D96
RGBrgb(33, 61, 150)
HSLhsl(226, 64%, 36%)
HSVhsv(226, 78%, 59%)
CMYKcmyk(78%, 59.3%, 0%, 41.2%)
CIE-LABlab(29.06, 23.04, -51.82)
CIE-LCHlch(29.06, 56.71, 293.97°)
OKLaboklab(39.71% -0.0099 -0.1496)
OKLCHoklch(39.71% 0.15 266.2)
XYZxyz(7.7990, 5.8620, 29.5687)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D96 #967A21
analogous
#217796 #213D96 #3F2196
triadic
#213D96 #96213D #3D9621
tetradic
#213D96 #962177 #967A21 #21963F
square
#213D96 #962177 #967A21 #21963F
split-complementary
#213D96 #963F21 #779621
monochromatic
#0B1432 #162964 #213D96 #2C51C8 #5777DA

Accessibility & contrast

On white

9.67
#213D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#213D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D96
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D96#FFFFFF#000000##FFFFFF
##213D961.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213d96;
/* rgb */ color: rgb(33, 61, 150);
/* oklch */ color: oklch(39.7% 0.150 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f72b6',
    500: '#213d96',
    950: '#000000',
  },
}
SCSS
$custom: #213d96;
$custom-light: #6f72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213d96",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 225.641,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39705,
    "c": 0.14996,
    "h": 266.2
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#213D96
secondary
#BEA555
accent
#BF41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213D96

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

Preview Lab → · Contrast checker → · Palette generator →

#213D96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva