#211C98#211C98

#211C98 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.189 H 272.1°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#211C98
RGBrgb(33, 28, 152)
HSLhsl(242, 69%, 35%)
HSVhsv(242, 82%, 60%)
CMYKcmyk(78.3%, 81.6%, 0%, 40.4%)
CIE-LABlab(21.65, 44.33, -65.23)
CIE-LCHlch(21.65, 78.87, 304.20°)
OKLaboklab(34.4% 0.007 -0.1888)
OKLCHoklch(34.4% 0.189 272.1)
XYZxyz(6.7080, 3.4201, 30.0063)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C98 #93981C
analogous
#1C5598 #211C98 #5F1C98
triadic
#211C98 #98211C #1C9821
tetradic
#211C98 #981C55 #93981C #1C985F
square
#211C98 #981C55 #93981C #1C985F
split-complementary
#211C98 #985F1C #55981C
monochromatic
#0B0931 #161264 #211C98 #2C26CC #5550DF

Accessibility & contrast

On white

12.47
#211C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211C98
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C98#FFFFFF#000000##FFFFFF
##211C981.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211c98;
/* rgb */ color: rgb(33, 28, 152);
/* oklch */ color: oklch(34.4% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#735cb8',
    500: '#211c98',
    950: '#000000',
  },
}
SCSS
$custom: #211c98;
$custom-light: #735cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#211c98",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 242.419,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34397,
    "c": 0.18891,
    "h": 272.1
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#211C98
secondary
#BDC14E
accent
#EC3CE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #211C98

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

Preview Lab → · Contrast checker → · Palette generator →

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