#213876#213876

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

Color values

HEX#213876
RGBrgb(33, 56, 118)
HSLhsl(224, 56%, 30%)
HSVhsv(224, 72%, 46%)
CMYKcmyk(72%, 52.5%, 0%, 53.7%)
CIE-LABlab(25.13, 13.84, -38.27)
CIE-LCHlch(25.13, 40.69, 289.88°)
OKLaboklab(35.95% -0.0081 -0.1098)
OKLCHoklch(35.95% 0.11 265.8)
XYZxyz(5.3102, 4.4592, 17.7169)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213876 #765F21
analogous
#216276 #213876 #352176
triadic
#213876 #762138 #387621
tetradic
#213876 #762162 #765F21 #217635
square
#213876 #762162 #765F21 #217635
split-complementary
#213876 #763521 #627621
monochromatic
#070B18 #142146 #213876 #2E4FA6 #466ACB

Accessibility & contrast

On white

11.10
#213876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213876
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213876#FFFFFF#000000##FFFFFF
##2138761.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213876;
/* rgb */ color: rgb(33, 56, 118);
/* oklch */ color: oklch(36.0% 0.110 265.8);
Tailwind
colors: {
  custom: {
    50: '#686e9e',
    500: '#213876',
    950: '#000000',
  },
}
SCSS
$custom: #213876;
$custom-light: #686e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#213876",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 223.765,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35954,
    "c": 0.11015,
    "h": 265.8
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213876

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

Preview Lab → · Contrast checker → · Palette generator →

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