#211873#211873

#211873 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.146 H 277.0°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#211873
RGBrgb(33, 24, 115)
HSLhsl(246, 65%, 27%)
HSVhsv(246, 79%, 45%)
CMYKcmyk(71.3%, 79.1%, 0%, 54.9%)
CIE-LABlab(16.57, 34.20, -50.32)
CIE-LCHlch(16.57, 60.84, 304.20°)
OKLaboklab(29.57% 0.0178 -0.1454)
OKLCHoklch(29.57% 0.146 277)
XYZxyz(4.0473, 2.2140, 16.4304)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211873 #6A7318
analogous
#183D73 #211873 #4F1873
triadic
#211873 #732118 #187321
tetradic
#211873 #73183D #6A7318 #18734F
square
#211873 #73183D #6A7318 #18734F
split-complementary
#211873 #734F18 #3D7318
monochromatic
#070519 #120D40 #211873 #3023A6 #4131D4

Accessibility & contrast

On white

14.56
#211873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#211873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211873
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211873#FFFFFF#000000##FFFFFF
##2118731.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211873;
/* rgb */ color: rgb(33, 24, 115);
/* oklch */ color: oklch(29.6% 0.146 277.0);
Tailwind
colors: {
  custom: {
    50: '#6a579c',
    500: '#211873',
    950: '#000000',
  },
}
SCSS
$custom: #211873;
$custom-light: #6a579c;
$custom-dark: #000000;
JSON
{
  "hex": "#211873",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 115
  },
  "hsl": {
    "h": 245.934,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29572,
    "c": 0.14648,
    "h": 277
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#211873
secondary
#9EA83F
accent
#E83FD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211873

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

Preview Lab → · Contrast checker → · Palette generator →

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