#213F96#213F96

#213F96 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.147 H 265.6°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#213F96
RGBrgb(33, 63, 150)
HSLhsl(225, 64%, 36%)
HSVhsv(225, 78%, 59%)
CMYKcmyk(78%, 58%, 0%, 41.2%)
CIE-LABlab(29.61, 21.67, -50.93)
CIE-LCHlch(29.61, 55.35, 293.05°)
OKLaboklab(40.12% -0.0113 -0.147)
OKLCHoklch(40.12% 0.147 265.6)
XYZxyz(7.9078, 6.0795, 29.6049)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F96 #967821
analogous
#217996 #213F96 #3D2196
triadic
#213F96 #96213F #3F9621
tetradic
#213F96 #962179 #967821 #21963D
square
#213F96 #962179 #967821 #21963D
split-complementary
#213F96 #963D21 #799621
monochromatic
#0B1532 #162A64 #213F96 #2C54C8 #5779DA

Accessibility & contrast

On white

9.48
#213F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#213F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F96
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F96#FFFFFF#000000##FFFFFF
##213F961.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #213f96;
/* rgb */ color: rgb(33, 63, 150);
/* oklch */ color: oklch(40.1% 0.147 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f73b6',
    500: '#213f96',
    950: '#000000',
  },
}
SCSS
$custom: #213f96;
$custom-light: #6f73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213f96",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 224.615,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.14741,
    "h": 265.6
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#213F96
secondary
#BEA355
accent
#BC41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213F96

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

Preview Lab → · Contrast checker → · Palette generator →

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