#213C97#213C97

#213C97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.153 H 266.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#213C97
RGBrgb(33, 60, 151)
HSLhsl(226, 64%, 36%)
HSVhsv(226, 78%, 59%)
CMYKcmyk(78.1%, 60.3%, 0%, 40.8%)
CIE-LABlab(28.87, 24.12, -52.74)
CIE-LCHlch(28.87, 57.99, 294.57°)
OKLaboklab(39.59% -0.0091 -0.1524)
OKLCHoklch(39.59% 0.153 266.6)
XYZxyz(7.8270, 5.7885, 29.9769)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C97 #977C21
analogous
#217797 #213C97 #412197
triadic
#213C97 #97213C #3C9721
tetradic
#213C97 #972177 #977C21 #219741
square
#213C97 #972177 #977C21 #219741
split-complementary
#213C97 #974121 #779721
monochromatic
#0B1433 #162865 #213C97 #2C50C9 #5876DA

Accessibility & contrast

On white

9.73
#213C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#213C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C97
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C97#FFFFFF#000000##FFFFFF
##213C971.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213c97;
/* rgb */ color: rgb(33, 60, 151);
/* oklch */ color: oklch(39.6% 0.153 266.6);
Tailwind
colors: {
  custom: {
    50: '#7071b6',
    500: '#213c97',
    950: '#000000',
  },
}
SCSS
$custom: #213c97;
$custom-light: #7071b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213c97",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 226.271,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.15262,
    "h": 266.6
  },
  "luminance": 0.05789
}

Semantic roles & 50–950 ramp

primary
#213C97
secondary
#BEA655
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213C97

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

Preview Lab → · Contrast checker → · Palette generator →

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