#211D94#211D94

#211D94 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.183 H 272.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#211D94
RGBrgb(33, 29, 148)
HSLhsl(242, 67%, 35%)
HSVhsv(242, 80%, 58%)
CMYKcmyk(77.7%, 80.4%, 0%, 42%)
CIE-LABlab(21.36, 42.51, -63.26)
CIE-LCHlch(21.36, 76.21, 303.90°)
OKLaboklab(34.05% 0.0076 -0.1831)
OKLCHoklch(34.05% 0.183 272.4)
XYZxyz(6.4101, 3.3395, 28.3180)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D94 #90941D
analogous
#1D5494 #211D94 #5D1D94
triadic
#211D94 #94211D #1D9421
tetradic
#211D94 #941D54 #90941D #1D945D
square
#211D94 #941D54 #90941D #1D945D
split-complementary
#211D94 #945D1D #54941D
monochromatic
#0A092E #161361 #211D94 #2C27C7 #544FDC

Accessibility & contrast

On white

12.59
#211D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211D94
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D94#FFFFFF#000000##FFFFFF
##211D941.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#002D92
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211d94;
/* rgb */ color: rgb(33, 29, 148);
/* oklch */ color: oklch(34.1% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#725cb5',
    500: '#211d94',
    950: '#000000',
  },
}
SCSS
$custom: #211d94;
$custom-light: #725cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#211d94",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 242.017,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34051,
    "c": 0.18323,
    "h": 272.4
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#211D94
secondary
#BBBF4E
accent
#EA3EE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211D94

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

Preview Lab → · Contrast checker → · Palette generator →

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