#211B8C#211B8C

#211B8C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.175 H 273.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#211B8C
RGBrgb(33, 27, 140)
HSLhsl(243, 68%, 33%)
HSVhsv(243, 81%, 55%)
CMYKcmyk(76.4%, 80.7%, 0%, 45.1%)
CIE-LABlab(20.04, 40.93, -60.46)
CIE-LCHlch(20.04, 73.01, 304.10°)
OKLaboklab(32.86% 0.0102 -0.1749)
OKLCHoklch(32.86% 0.175 273.3)
XYZxyz(5.7512, 3.0001, 25.0818)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B8C #868C1B
analogous
#1B4D8C #211B8C #5A1B8C
triadic
#211B8C #8C211B #1B8C21
tetradic
#211B8C #8C1B4D #868C1B #1B8C5A
square
#211B8C #8C1B4D #868C1B #1B8C5A
split-complementary
#211B8C #8C5A1B #4D8C1B
monochromatic
#090725 #151159 #211B8C #2D25BF #4E46DB

Accessibility & contrast

On white

13.12
#211B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#211B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B8C
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B8C#FFFFFF#000000##FFFFFF
##211B8C1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211b8c;
/* rgb */ color: rgb(33, 27, 140);
/* oklch */ color: oklch(32.9% 0.175 273.3);
Tailwind
colors: {
  custom: {
    50: '#705aaf',
    500: '#211b8c',
    950: '#000000',
  },
}
SCSS
$custom: #211b8c;
$custom-light: #705aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#211b8c",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 243.186,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32859,
    "c": 0.17522,
    "h": 273.3
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#211B8C
secondary
#B7BD46
accent
#EB3DE1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #211B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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