#211964#211964

#211964 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.125 H 279.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#211964
RGBrgb(33, 25, 100)
HSLhsl(246, 60%, 25%)
HSVhsv(246, 75%, 39%)
CMYKcmyk(67%, 75%, 0%, 60.8%)
CIE-LABlab(15.16, 28.38, -42.84)
CIE-LCHlch(15.16, 51.39, 303.52°)
OKLaboklab(28.08% 0.0205 -0.1236)
OKLCHoklch(28.08% 0.125 279.4)
XYZxyz(3.2743, 1.9384, 12.2557)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211964 #5C6419
analogous
#193764 #211964 #471964
triadic
#211964 #642119 #196421
tetradic
#211964 #641937 #5C6419 #196447
square
#211964 #641937 #5C6419 #196447
split-complementary
#211964 #644719 #376419
monochromatic
#080618 #110D33 #211964 #312595 #4131C6

Accessibility & contrast

On white

15.13
#211964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#211964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211964
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211964#FFFFFF#000000##FFFFFF
##2119641.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211964;
/* rgb */ color: rgb(33, 25, 100);
/* oklch */ color: oklch(28.1% 0.125 279.4);
Tailwind
colors: {
  custom: {
    50: '#665791',
    500: '#211964',
    950: '#000000',
  },
}
SCSS
$custom: #211964;
$custom-light: #665791;
$custom-dark: #000000;
JSON
{
  "hex": "#211964",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 246.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28081,
    "c": 0.12527,
    "h": 279.4
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#211964
secondary
#909A3F
accent
#E345D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #211964

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

Preview Lab → · Contrast checker → · Palette generator →

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