#211896#211896

#211896 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.190 H 272.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#211896
RGBrgb(33, 24, 150)
HSLhsl(244, 72%, 34%)
HSVhsv(244, 84%, 59%)
CMYKcmyk(78%, 84%, 0%, 41.2%)
CIE-LABlab(20.74, 45.64, -65.51)
CIE-LCHlch(20.74, 79.84, 304.87°)
OKLaboklab(33.7% 0.0086 -0.1895)
OKLCHoklch(33.7% 0.19 272.6)
XYZxyz(6.4570, 3.1779, 29.1213)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211896 #8D9618
analogous
#184E96 #211896 #601896
triadic
#211896 #962118 #189621
tetradic
#211896 #96184E #8D9618 #189660
square
#211896 #96184E #8D9618 #189660
split-complementary
#211896 #966018 #4E9618
monochromatic
#0A072C #151061 #211896 #2D20CB #5247E2

Accessibility & contrast

On white

12.84
#211896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#211896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211896
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211896#FFFFFF#000000##FFFFFF
##2118961.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002C94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211896;
/* rgb */ color: rgb(33, 24, 150);
/* oklch */ color: oklch(33.7% 0.190 272.6);
Tailwind
colors: {
  custom: {
    50: '#7359b6',
    500: '#211896',
    950: '#000000',
  },
}
SCSS
$custom: #211896;
$custom-light: #7359b6;
$custom-dark: #000000;
JSON
{
  "hex": "#211896",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 150
  },
  "hsl": {
    "h": 244.286,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33695,
    "c": 0.18971,
    "h": 272.6
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#211896
secondary
#BAC347
accent
#EF39E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #211896

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

Preview Lab → · Contrast checker → · Palette generator →

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