#211479#211479

#211479 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.158 H 276.6°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#211479
RGBrgb(33, 20, 121)
HSLhsl(248, 72%, 28%)
HSVhsv(248, 83%, 47%)
CMYKcmyk(72.7%, 83.5%, 0%, 52.5%)
CIE-LABlab(16.52, 38.36, -54.27)
CIE-LCHlch(16.52, 66.45, 305.26°)
OKLaboklab(29.74% 0.0182 -0.1568)
OKLCHoklch(29.74% 0.158 276.6)
XYZxyz(4.3274, 2.2037, 18.2828)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211479 #6C7914
analogous
#143979 #211479 #541479
triadic
#211479 #792114 #147921
tetradic
#211479 #791439 #6C7914 #147954
square
#211479 #791439 #6C7914 #147954
split-complementary
#211479 #795414 #397914
monochromatic
#07041A #130B44 #211479 #2F1DAE #422BDC

Accessibility & contrast

On white

14.58
#211479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#211479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211479
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211479#FFFFFF#000000##FFFFFF
##2114791.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211479;
/* rgb */ color: rgb(33, 20, 121);
/* oklch */ color: oklch(29.7% 0.158 276.6);
Tailwind
colors: {
  custom: {
    50: '#6c55a1',
    500: '#211479',
    950: '#000000',
  },
}
SCSS
$custom: #211479;
$custom-light: #6c55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#211479",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 247.723,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29743,
    "c": 0.15788,
    "h": 276.6
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#211479
secondary
#A0AF3A
accent
#EE39D7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211479

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

Preview Lab → · Contrast checker → · Palette generator →

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