#211574#211574

#211574 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.151 H 277.3°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#211574
RGBrgb(33, 21, 116)
HSLhsl(248, 69%, 27%)
HSVhsv(248, 82%, 45%)
CMYKcmyk(71.6%, 81.9%, 0%, 54.5%)
CIE-LABlab(16.11, 36.20, -51.73)
CIE-LCHlch(16.11, 63.14, 304.98°)
OKLaboklab(29.28% 0.0192 -0.1495)
OKLCHoklch(29.28% 0.151 277.3)
XYZxyz(4.0467, 2.1203, 16.7156)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211574 #687415
analogous
#153974 #211574 #511574
triadic
#211574 #742115 #157421
tetradic
#211574 #741539 #687415 #157451
square
#211574 #741539 #687415 #157451
split-complementary
#211574 #745115 #397415
monochromatic
#07051A #120C40 #211574 #301EA8 #412BD9

Accessibility & contrast

On white

14.75
#211574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211574
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211574#FFFFFF#000000##FFFFFF
##2115741.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211574;
/* rgb */ color: rgb(33, 21, 116);
/* oklch */ color: oklch(29.3% 0.151 277.3);
Tailwind
colors: {
  custom: {
    50: '#6a559d',
    500: '#211574',
    950: '#000000',
  },
}
SCSS
$custom: #211574;
$custom-light: #6a559d;
$custom-dark: #000000;
JSON
{
  "hex": "#211574",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 247.579,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29279,
    "c": 0.15071,
    "h": 277.3
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#211574
secondary
#9CAA3B
accent
#EC3CD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211574

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

Preview Lab → · Contrast checker → · Palette generator →

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