#213977#213977

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

Color values

HEX#213977
RGBrgb(33, 57, 119)
HSLhsl(223, 57%, 30%)
HSVhsv(223, 72%, 47%)
CMYKcmyk(72.3%, 52.1%, 0%, 53.3%)
CIE-LABlab(25.51, 13.53, -38.30)
CIE-LCHlch(25.51, 40.62, 289.46°)
OKLaboklab(36.26% -0.009 -0.1099)
OKLCHoklch(36.26% 0.11 265.3)
XYZxyz(5.4189, 4.5810, 18.0478)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213977 #775F21
analogous
#216477 #213977 #342177
triadic
#213977 #772139 #397721
tetradic
#213977 #772164 #775F21 #217734
square
#213977 #772164 #775F21 #217734
split-complementary
#213977 #773421 #647721
monochromatic
#070B18 #142247 #213977 #2E50A7 #476CCC

Accessibility & contrast

On white

10.96
#213977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213977
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213977#FFFFFF#000000##FFFFFF
##2139771.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154179
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213977;
/* rgb */ color: rgb(33, 57, 119);
/* oklch */ color: oklch(36.3% 0.110 265.3);
Tailwind
colors: {
  custom: {
    50: '#686e9f',
    500: '#213977',
    950: '#000000',
  },
}
SCSS
$custom: #213977;
$custom-light: #686e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#213977",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 119
  },
  "hsl": {
    "h": 223.256,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3626,
    "c": 0.1103,
    "h": 265.3
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#213977
secondary
#AA8F4A
accent
#B548E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213977

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

Preview Lab → · Contrast checker → · Palette generator →

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