#211478#211478

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

Color values

HEX#211478
RGBrgb(33, 20, 120)
HSLhsl(248, 71%, 27%)
HSVhsv(248, 83%, 47%)
CMYKcmyk(72.5%, 83.3%, 0%, 52.9%)
CIE-LABlab(16.40, 38.03, -53.82)
CIE-LCHlch(16.40, 65.91, 305.25°)
OKLaboklab(29.62% 0.0185 -0.1555)
OKLCHoklch(29.62% 0.157 276.8)
XYZxyz(4.2664, 2.1793, 17.9615)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211478 #6B7814
analogous
#143978 #211478 #531478
triadic
#211478 #782114 #147821
tetradic
#211478 #781439 #6B7814 #147853
square
#211478 #781439 #6B7814 #147853
split-complementary
#211478 #785314 #397814
monochromatic
#07041A #130B44 #211478 #2F1DAC #422BDC

Accessibility & contrast

On white

14.62
#211478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211478
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211478#FFFFFF#000000##FFFFFF
##2114781.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211478;
/* rgb */ color: rgb(33, 20, 120);
/* oklch */ color: oklch(29.6% 0.157 276.8);
Tailwind
colors: {
  custom: {
    50: '#6b55a0',
    500: '#211478',
    950: '#000000',
  },
}
SCSS
$custom: #211478;
$custom-light: #6b55a0;
$custom-dark: #000000;
JSON
{
  "hex": "#211478",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 247.8,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29624,
    "c": 0.15665,
    "h": 276.8
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#211478
secondary
#9FAE3A
accent
#EE3AD7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211478

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

Preview Lab → · Contrast checker → · Palette generator →

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