#211474#211474

#211474 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.152 H 277.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#211474
RGBrgb(33, 20, 116)
HSLhsl(248, 71%, 27%)
HSVhsv(248, 83%, 45%)
CMYKcmyk(71.6%, 82.8%, 0%, 54.5%)
CIE-LABlab(15.92, 36.73, -52.04)
CIE-LCHlch(15.92, 63.70, 305.22°)
OKLaboklab(29.15% 0.0197 -0.1504)
OKLCHoklch(29.15% 0.152 277.5)
XYZxyz(4.0287, 2.0842, 16.7096)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211474 #677414
analogous
#143774 #211474 #511474
triadic
#211474 #742114 #147421
tetradic
#211474 #741437 #677414 #147451
square
#211474 #741437 #677414 #147451
split-complementary
#211474 #745114 #377414
monochromatic
#07051A #120B40 #211474 #301DA8 #4028DA

Accessibility & contrast

On white

14.82
#211474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#211474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211474
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211474#FFFFFF#000000##FFFFFF
##2114741.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211474;
/* rgb */ color: rgb(33, 20, 116);
/* oklch */ color: oklch(29.2% 0.152 277.5);
Tailwind
colors: {
  custom: {
    50: '#6a559d',
    500: '#211474',
    950: '#000000',
  },
}
SCSS
$custom: #211474;
$custom-light: #6a559d;
$custom-dark: #000000;
JSON
{
  "hex": "#211474",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 248.125,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29151,
    "c": 0.15164,
    "h": 277.5
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#211474
secondary
#9BAA3A
accent
#ED3AD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #211474

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

Preview Lab → · Contrast checker → · Palette generator →

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