#213877#213877

#213877 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.112 H 265.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#213877
RGBrgb(33, 56, 119)
HSLhsl(224, 57%, 30%)
HSVhsv(224, 72%, 47%)
CMYKcmyk(72.3%, 52.9%, 0%, 53.3%)
CIE-LABlab(25.21, 14.24, -38.78)
CIE-LCHlch(25.21, 41.31, 290.16°)
OKLaboklab(36.03% -0.008 -0.1114)
OKLCHoklch(36.03% 0.112 265.9)
XYZxyz(5.3700, 4.4830, 18.0315)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213877 #776021
analogous
#216377 #213877 #352177
triadic
#213877 #772138 #387721
tetradic
#213877 #772163 #776021 #217735
square
#213877 #772163 #776021 #217735
split-complementary
#213877 #773521 #637721
monochromatic
#070B18 #142147 #213877 #2E4FA7 #476ACC

Accessibility & contrast

On white

11.07
#213877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#213877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213877
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213877#FFFFFF#000000##FFFFFF
##2138771.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124079
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213877;
/* rgb */ color: rgb(33, 56, 119);
/* oklch */ color: oklch(36.0% 0.112 265.9);
Tailwind
colors: {
  custom: {
    50: '#686e9f',
    500: '#213877',
    950: '#000000',
  },
}
SCSS
$custom: #213877;
$custom-light: #686e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#213877",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 223.953,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36033,
    "c": 0.11166,
    "h": 265.9
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#213877
secondary
#AA904A
accent
#B748E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213877

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

Preview Lab → · Contrast checker → · Palette generator →

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