#211879#211879

#211879 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.154 H 276.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#211879
RGBrgb(33, 24, 121)
HSLhsl(246, 67%, 28%)
HSVhsv(246, 80%, 47%)
CMYKcmyk(72.7%, 80.2%, 0%, 52.5%)
CIE-LABlab(17.26, 36.23, -53.05)
CIE-LCHlch(17.26, 64.24, 304.33°)
OKLaboklab(30.26% 0.0163 -0.1533)
OKLCHoklch(30.26% 0.154 276.1)
XYZxyz(4.4039, 2.3567, 18.3082)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211879 #707918
analogous
#183F79 #211879 #511879
triadic
#211879 #792118 #187921
tetradic
#211879 #79183F #707918 #187951
square
#211879 #79183F #707918 #187951
split-complementary
#211879 #795118 #3F7918
monochromatic
#07051A #130E46 #211879 #2F22AC #4435D7

Accessibility & contrast

On white

14.27
#211879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#211879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211879
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211879#FFFFFF#000000##FFFFFF
##2118791.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211879;
/* rgb */ color: rgb(33, 24, 121);
/* oklch */ color: oklch(30.3% 0.154 276.1);
Tailwind
colors: {
  custom: {
    50: '#6b57a1',
    500: '#211879',
    950: '#000000',
  },
}
SCSS
$custom: #211879;
$custom-light: #6b57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#211879",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 245.567,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30256,
    "c": 0.15421,
    "h": 276.1
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#211879
secondary
#A4AE3F
accent
#EA3EDA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211879

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

Preview Lab → · Contrast checker → · Palette generator →

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