#211A98#211A98

#211A98 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.191 H 272.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#211A98
RGBrgb(33, 26, 152)
HSLhsl(243, 71%, 35%)
HSVhsv(243, 83%, 60%)
CMYKcmyk(78.3%, 82.9%, 0%, 40.4%)
CIE-LABlab(21.31, 45.32, -65.79)
CIE-LCHlch(21.31, 79.89, 304.56°)
OKLaboklab(34.16% 0.0076 -0.1904)
OKLCHoklch(34.16% 0.191 272.3)
XYZxyz(6.6622, 3.3284, 29.9910)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A98 #91981A
analogous
#1A5298 #211A98 #601A98
triadic
#211A98 #98211A #1A9821
tetradic
#211A98 #981A52 #91981A #1A9860
square
#211A98 #981A52 #91981A #1A9860
split-complementary
#211A98 #98601A #52981A
monochromatic
#0A082F #161164 #211A98 #2C23CC #544CE0

Accessibility & contrast

On white

12.61
#211A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#211A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A98
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A98#FFFFFF#000000##FFFFFF
##211A981.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399B
Deuteranopia (green-blind)
#002D96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211a98;
/* rgb */ color: rgb(33, 26, 152);
/* oklch */ color: oklch(34.2% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#735ab8',
    500: '#211a98',
    950: '#000000',
  },
}
SCSS
$custom: #211a98;
$custom-light: #735ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#211a98",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 243.333,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34161,
    "c": 0.19053,
    "h": 272.3
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#211A98
secondary
#BCC24B
accent
#EE3AE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211A98

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

Preview Lab → · Contrast checker → · Palette generator →

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