#211C97#211C97

#211C97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.188 H 272.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#211C97
RGBrgb(33, 28, 151)
HSLhsl(242, 69%, 35%)
HSVhsv(242, 81%, 59%)
CMYKcmyk(78.1%, 81.5%, 0%, 40.8%)
CIE-LABlab(21.53, 44.01, -64.81)
CIE-LCHlch(21.53, 78.34, 304.17°)
OKLaboklab(34.28% 0.0072 -0.1876)
OKLCHoklch(34.28% 0.188 272.2)
XYZxyz(6.6265, 3.3875, 29.5768)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C97 #92971C
analogous
#1C5497 #211C97 #5E1C97
triadic
#211C97 #97211C #1C9721
tetradic
#211C97 #971C54 #92971C #1C975E
square
#211C97 #971C54 #92971C #1C975E
split-complementary
#211C97 #975E1C #54971C
monochromatic
#0A0930 #161263 #211C97 #2C26CB #554FDE

Accessibility & contrast

On white

12.52
#211C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#211C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C97
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C97#FFFFFF#000000##FFFFFF
##211C971.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211c97;
/* rgb */ color: rgb(33, 28, 151);
/* oklch */ color: oklch(34.3% 0.188 272.2);
Tailwind
colors: {
  custom: {
    50: '#735bb7',
    500: '#211c97',
    950: '#000000',
  },
}
SCSS
$custom: #211c97;
$custom-light: #735bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#211c97",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 242.439,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34279,
    "c": 0.18771,
    "h": 272.2
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#211C97
secondary
#BCC14E
accent
#EC3CE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #211C97

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

Preview Lab → · Contrast checker → · Palette generator →

#211C97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva