#211B8E#211B8E

#211B8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.178 H 273.1°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#211B8E
RGBrgb(33, 27, 142)
HSLhsl(243, 68%, 33%)
HSVhsv(243, 81%, 56%)
CMYKcmyk(76.8%, 81%, 0%, 44.3%)
CIE-LABlab(20.28, 41.59, -61.31)
CIE-LCHlch(20.28, 74.09, 304.15°)
OKLaboklab(33.09% 0.0097 -0.1774)
OKLCHoklch(33.09% 0.178 273.1)
XYZxyz(5.9000, 3.0596, 25.8656)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B8E #888E1B
analogous
#1B4F8E #211B8E #5A1B8E
triadic
#211B8E #8E211B #1B8E21
tetradic
#211B8E #8E1B4F #888E1B #1B8E5A
square
#211B8E #8E1B4F #888E1B #1B8E5A
split-complementary
#211B8E #8E5A1B #4F8E1B
monochromatic
#090727 #15115B #211B8E #2D25C1 #4F47DC

Accessibility & contrast

On white

13.03
#211B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#211B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B8E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B8E#FFFFFF#000000##FFFFFF
##211B8E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211b8e;
/* rgb */ color: rgb(33, 27, 142);
/* oklch */ color: oklch(33.1% 0.178 273.1);
Tailwind
colors: {
  custom: {
    50: '#705ab0',
    500: '#211b8e',
    950: '#000000',
  },
}
SCSS
$custom: #211b8e;
$custom-light: #705ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#211b8e",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 243.13,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.17766,
    "h": 273.1
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#211B8E
secondary
#B8BE47
accent
#EB3DE2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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