#211579#211579

#211579 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.157 H 276.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#211579
RGBrgb(33, 21, 121)
HSLhsl(247, 70%, 28%)
HSVhsv(247, 83%, 47%)
CMYKcmyk(72.7%, 82.6%, 0%, 52.5%)
CIE-LABlab(16.70, 37.85, -53.97)
CIE-LCHlch(16.70, 65.92, 305.04°)
OKLaboklab(29.87% 0.0177 -0.156)
OKLCHoklch(29.87% 0.157 276.5)
XYZxyz(4.3454, 2.2397, 18.2888)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211579 #6D7915
analogous
#153B79 #211579 #531579
triadic
#211579 #792115 #157921
tetradic
#211579 #79153B #6D7915 #157953
square
#211579 #79153B #6D7915 #157953
split-complementary
#211579 #795315 #3B7915
monochromatic
#07051A #130C45 #211579 #2F1EAD #422EDB

Accessibility & contrast

On white

14.50
#211579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#211579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211579
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211579#FFFFFF#000000##FFFFFF
##2115791.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211579;
/* rgb */ color: rgb(33, 21, 121);
/* oklch */ color: oklch(29.9% 0.157 276.5);
Tailwind
colors: {
  custom: {
    50: '#6c55a1',
    500: '#211579',
    950: '#000000',
  },
}
SCSS
$custom: #211579;
$custom-light: #6c55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#211579",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 247.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29865,
    "c": 0.15701,
    "h": 276.5
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#211579
secondary
#A1AF3B
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211579

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

Preview Lab → · Contrast checker → · Palette generator →

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