#211C79#211C79

#211C79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.150 H 275.4°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#211C79
RGBrgb(33, 28, 121)
HSLhsl(243, 62%, 29%)
HSVhsv(243, 77%, 47%)
CMYKcmyk(72.7%, 76.9%, 0%, 52.5%)
CIE-LABlab(18.07, 33.92, -51.70)
CIE-LCHlch(18.07, 61.84, 303.27°)
OKLaboklab(30.83% 0.0141 -0.1495)
OKLCHoklch(30.83% 0.15 275.4)
XYZxyz(4.4925, 2.5339, 18.3378)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C79 #74791C
analogous
#1C4679 #211C79 #501C79
triadic
#211C79 #79211C #1C7921
tetradic
#211C79 #791C46 #74791C #1C7950
square
#211C79 #791C46 #74791C #1C7950
split-complementary
#211C79 #79501C #46791C
monochromatic
#070619 #131047 #211C79 #2F28AB #453DD2

Accessibility & contrast

On white

13.94
#211C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#211C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C79
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C79#FFFFFF#000000##FFFFFF
##211C791.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211c79;
/* rgb */ color: rgb(33, 28, 121);
/* oklch */ color: oklch(30.8% 0.150 275.4);
Tailwind
colors: {
  custom: {
    50: '#6b5aa1',
    500: '#211c79',
    950: '#000000',
  },
}
SCSS
$custom: #211c79;
$custom-light: #6b5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#211c79",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 243.226,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3083,
    "c": 0.15014,
    "h": 275.4
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#211C79
secondary
#A7AD44
accent
#E542DD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211C79

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

Preview Lab → · Contrast checker → · Palette generator →

#211C79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva