#211862#211862

#211862 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.124 H 280.1°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#211862
RGBrgb(33, 24, 98)
HSLhsl(247, 61%, 24%)
HSVhsv(247, 76%, 38%)
CMYKcmyk(66.3%, 75.5%, 0%, 61.6%)
CIE-LABlab(14.72, 28.30, -42.23)
CIE-LCHlch(14.72, 50.84, 303.83°)
OKLaboklab(27.71% 0.0217 -0.1218)
OKLCHoklch(27.71% 0.124 280.1)
XYZxyz(3.1577, 1.8582, 11.7452)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211862 #596218
analogous
#183462 #211862 #461862
triadic
#211862 #622118 #186221
tetradic
#211862 #621834 #596218 #186246
square
#211862 #621834 #596218 #186246
split-complementary
#211862 #624618 #346218
monochromatic
#080619 #100C31 #211862 #322493 #4230C4

Accessibility & contrast

On white

15.31
#211862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#211862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211862
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211862#FFFFFF#000000##FFFFFF
##2118621.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002261
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211862;
/* rgb */ color: rgb(33, 24, 98);
/* oklch */ color: oklch(27.7% 0.124 280.1);
Tailwind
colors: {
  custom: {
    50: '#66568f',
    500: '#211862',
    950: '#000000',
  },
}
SCSS
$custom: #211862;
$custom-light: #66568f;
$custom-dark: #000000;
JSON
{
  "hex": "#211862",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 247.297,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27707,
    "c": 0.12372,
    "h": 280.1
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#211862
secondary
#8D983E
accent
#E444D0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211862

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

Preview Lab → · Contrast checker → · Palette generator →

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