#211864#211864

#211864 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.126 H 279.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#211864
RGBrgb(33, 24, 100)
HSLhsl(247, 61%, 24%)
HSVhsv(247, 76%, 39%)
CMYKcmyk(67%, 76%, 0%, 60.8%)
CIE-LABlab(14.93, 29.01, -43.21)
CIE-LCHlch(14.93, 52.05, 303.87°)
OKLaboklab(27.92% 0.0213 -0.1247)
OKLCHoklch(27.92% 0.126 279.7)
XYZxyz(3.2534, 1.8964, 12.2487)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211864 #5B6418
analogous
#183564 #211864 #471864
triadic
#211864 #642118 #186421
tetradic
#211864 #641835 #5B6418 #186447
square
#211864 #641835 #5B6418 #186447
split-complementary
#211864 #644718 #356418
monochromatic
#080619 #110C33 #211864 #312495 #4230C7

Accessibility & contrast

On white

15.22
#211864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#211864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211864
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211864#FFFFFF#000000##FFFFFF
##2118641.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211864;
/* rgb */ color: rgb(33, 24, 100);
/* oklch */ color: oklch(27.9% 0.126 279.7);
Tailwind
colors: {
  custom: {
    50: '#665691',
    500: '#211864',
    950: '#000000',
  },
}
SCSS
$custom: #211864;
$custom-light: #665691;
$custom-dark: #000000;
JSON
{
  "hex": "#211864",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 247.105,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27919,
    "c": 0.12647,
    "h": 279.7
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#211864
secondary
#8F9A3E
accent
#E443D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #211864

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

Preview Lab → · Contrast checker → · Palette generator →

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