#211C95#211C95

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

Color values

HEX#211C95
RGBrgb(33, 28, 149)
HSLhsl(242, 68%, 35%)
HSVhsv(242, 81%, 58%)
CMYKcmyk(77.9%, 81.2%, 0%, 41.6%)
CIE-LABlab(21.29, 43.36, -63.98)
CIE-LCHlch(21.29, 77.28, 304.12°)
OKLaboklab(34.04% 0.0077 -0.1851)
OKLCHoklch(34.04% 0.185 272.4)
XYZxyz(6.4654, 3.3231, 28.7286)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C95 #90951C
analogous
#1C5495 #211C95 #5D1C95
triadic
#211C95 #95211C #1C9521
tetradic
#211C95 #951C54 #90951C #1C955D
square
#211C95 #951C54 #90951C #1C955D
split-complementary
#211C95 #955D1C #54951C
monochromatic
#0A092E #161261 #211C95 #2C26C9 #544EDE

Accessibility & contrast

On white

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

On black

1.66
#211C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##211C95#FFFFFF#000000##FFFFFF
##211C951.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211c95;
/* rgb */ color: rgb(33, 28, 149);
/* oklch */ color: oklch(34.0% 0.185 272.4);
Tailwind
colors: {
  custom: {
    50: '#725bb5',
    500: '#211c95',
    950: '#000000',
  },
}
SCSS
$custom: #211c95;
$custom-light: #725bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#211c95",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 242.479,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34042,
    "c": 0.1853,
    "h": 272.4
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#211C95
secondary
#BBC04D
accent
#EB3DE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211C95

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

Preview Lab → · Contrast checker → · Palette generator →

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