#211D98#211D98

#211D98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.188 H 272.0°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#211D98
RGBrgb(33, 29, 152)
HSLhsl(242, 68%, 35%)
HSVhsv(242, 81%, 60%)
CMYKcmyk(78.3%, 80.9%, 0%, 40.4%)
CIE-LABlab(21.83, 43.82, -64.94)
CIE-LCHlch(21.83, 78.34, 304.01°)
OKLaboklab(34.52% 0.0067 -0.1879)
OKLCHoklch(34.52% 0.188 272)
XYZxyz(6.7322, 3.4683, 30.0143)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D98 #94981D
analogous
#1D5698 #211D98 #5E1D98
triadic
#211D98 #98211D #1D9821
tetradic
#211D98 #981D56 #94981D #1D985E
square
#211D98 #981D56 #94981D #1D985E
split-complementary
#211D98 #985E1D #56981D
monochromatic
#0B0931 #161365 #211D98 #2C27CB #5652DE

Accessibility & contrast

On white

12.40
#211D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#211D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D98
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D98#FFFFFF#000000##FFFFFF
##211D981.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.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: #211d98;
/* rgb */ color: rgb(33, 29, 152);
/* oklch */ color: oklch(34.5% 0.188 272.0);
Tailwind
colors: {
  custom: {
    50: '#735cb8',
    500: '#211d98',
    950: '#000000',
  },
}
SCSS
$custom: #211d98;
$custom-light: #735cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#211d98",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 241.951,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.18807,
    "h": 272
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#211D98
secondary
#BDC150
accent
#EB3DE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #211D98

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

Preview Lab → · Contrast checker → · Palette generator →

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