#213978#213978

#213978 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.112 H 265.5°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#213978
RGBrgb(33, 57, 120)
HSLhsl(223, 57%, 30%)
HSVhsv(223, 73%, 47%)
CMYKcmyk(72.5%, 52.5%, 0%, 52.9%)
CIE-LABlab(25.58, 13.93, -38.82)
CIE-LCHlch(25.58, 41.24, 289.75°)
OKLaboklab(36.34% -0.0088 -0.1115)
OKLCHoklch(36.34% 0.112 265.5)
XYZxyz(5.4793, 4.6051, 18.3658)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213978 #786021
analogous
#216578 #213978 #342178
triadic
#213978 #782139 #397821
tetradic
#213978 #782165 #786021 #217834
square
#213978 #782165 #786021 #217834
split-complementary
#213978 #783421 #657821
monochromatic
#070B18 #142248 #213978 #2E50A8 #476CCC

Accessibility & contrast

On white

10.93
#213978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#213978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213978
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213978#FFFFFF#000000##FFFFFF
##2139781.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213978;
/* rgb */ color: rgb(33, 57, 120);
/* oklch */ color: oklch(36.3% 0.112 265.5);
Tailwind
colors: {
  custom: {
    50: '#686e9f',
    500: '#213978',
    950: '#000000',
  },
}
SCSS
$custom: #213978;
$custom-light: #686e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#213978",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 223.448,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.11181,
    "h": 265.5
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#213978
secondary
#AB904A
accent
#B648E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213978

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

Preview Lab → · Contrast checker → · Palette generator →

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