#211B7E#211B7E

#211B7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.158 H 274.9°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#211B7E
RGBrgb(33, 27, 126)
HSLhsl(244, 65%, 30%)
HSVhsv(244, 79%, 49%)
CMYKcmyk(73.8%, 78.6%, 0%, 50.6%)
CIE-LABlab(18.42, 36.23, -54.32)
CIE-LCHlch(18.42, 65.29, 303.71°)
OKLaboklab(31.24% 0.0135 -0.1571)
OKLCHoklch(31.24% 0.158 274.9)
XYZxyz(4.7838, 2.6131, 19.9869)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B7E #787E1B
analogous
#1B477E #211B7E #521B7E
triadic
#211B7E #7E211B #1B7E21
tetradic
#211B7E #7E1B47 #787E1B #1B7E52
square
#211B7E #7E1B47 #787E1B #1B7E52
split-complementary
#211B7E #7E521B #477E1B
monochromatic
#070519 #14104C #211B7E #2E26B0 #473ED6

Accessibility & contrast

On white

13.79
#211B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B7E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B7E#FFFFFF#000000##FFFFFF
##211B7E1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211b7e;
/* rgb */ color: rgb(33, 27, 126);
/* oklch */ color: oklch(31.2% 0.158 274.9);
Tailwind
colors: {
  custom: {
    50: '#6c59a4',
    500: '#211b7e',
    950: '#000000',
  },
}
SCSS
$custom: #211b7e;
$custom-light: #6c59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#211b7e",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 243.636,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.15765,
    "h": 274.9
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#211B7E
secondary
#ABB243
accent
#E840DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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