#211174#211174

#211174 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.154 H 277.9°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#211174
RGBrgb(33, 17, 116)
HSLhsl(250, 74%, 26%)
HSVhsv(250, 85%, 45%)
CMYKcmyk(71.6%, 85.3%, 0%, 54.5%)
CIE-LABlab(15.41, 38.24, -52.89)
CIE-LCHlch(15.41, 65.27, 305.86°)
OKLaboklab(28.79% 0.0211 -0.1528)
OKLCHoklch(28.79% 0.154 277.9)
XYZxyz(3.9790, 1.9848, 16.6930)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211174 #647411
analogous
#113274 #211174 #521174
triadic
#211174 #742111 #117421
tetradic
#211174 #741132 #647411 #117452
square
#211174 #741132 #647411 #117452
split-complementary
#211174 #745211 #327411
monochromatic
#08041B #12093F #211174 #3019A9 #4021DE

Accessibility & contrast

On white

15.03
#211174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#211174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211174
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211174#FFFFFF#000000##FFFFFF
##2111741.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211174;
/* rgb */ color: rgb(33, 17, 116);
/* oklch */ color: oklch(28.8% 0.154 277.9);
Tailwind
colors: {
  custom: {
    50: '#6b539d',
    500: '#211174',
    950: '#000000',
  },
}
SCSS
$custom: #211174;
$custom-light: #6b539d;
$custom-dark: #000000;
JSON
{
  "hex": "#211174",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 249.697,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28794,
    "c": 0.15424,
    "h": 277.9
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#211174
secondary
#98AB36
accent
#F137D3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #211174

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

Preview Lab → · Contrast checker → · Palette generator →

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