#211876#211876

#211876 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.150 H 276.5°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#211876
RGBrgb(33, 24, 118)
HSLhsl(246, 66%, 28%)
HSVhsv(246, 80%, 46%)
CMYKcmyk(72%, 79.7%, 0%, 53.7%)
CIE-LABlab(16.91, 35.22, -51.69)
CIE-LCHlch(16.91, 62.55, 304.27°)
OKLaboklab(29.91% 0.017 -0.1494)
OKLCHoklch(29.91% 0.15 276.5)
XYZxyz(4.2228, 2.2842, 17.3544)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211876 #6D7618
analogous
#183E76 #211876 #501876
triadic
#211876 #762118 #187621
tetradic
#211876 #76183E #6D7618 #187650
square
#211876 #76183E #6D7618 #187650
split-complementary
#211876 #765018 #3E7618
monochromatic
#070519 #130E43 #211876 #2F22A9 #4233D5

Accessibility & contrast

On white

14.41
#211876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#211876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211876
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211876#FFFFFF#000000##FFFFFF
##2118761.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211876;
/* rgb */ color: rgb(33, 24, 118);
/* oklch */ color: oklch(29.9% 0.150 276.5);
Tailwind
colors: {
  custom: {
    50: '#6b579f',
    500: '#211876',
    950: '#000000',
  },
}
SCSS
$custom: #211876;
$custom-light: #6b579f;
$custom-dark: #000000;
JSON
{
  "hex": "#211876",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 245.745,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29912,
    "c": 0.15037,
    "h": 276.5
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#211876
secondary
#A1AB3F
accent
#E93FD9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #211876

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

Preview Lab → · Contrast checker → · Palette generator →

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