#211B7A#211B7A

#211B7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.152 H 275.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#211B7A
RGBrgb(33, 27, 122)
HSLhsl(244, 64%, 29%)
HSVhsv(244, 78%, 48%)
CMYKcmyk(73%, 77.9%, 0%, 52.2%)
CIE-LABlab(17.97, 34.86, -52.51)
CIE-LCHlch(17.97, 63.03, 303.58°)
OKLaboklab(30.79% 0.0144 -0.1518)
OKLCHoklch(30.79% 0.152 275.4)
XYZxyz(4.5308, 2.5119, 18.6547)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B7A #747A1B
analogous
#1B457A #211B7A #511B7A
triadic
#211B7A #7A211B #1B7A21
tetradic
#211B7A #7A1B45 #747A1B #1B7A51
square
#211B7A #7A1B45 #747A1B #1B7A51
split-complementary
#211B7A #7A511B #457A1B
monochromatic
#070619 #131048 #211B7A #2F26AC #453CD4

Accessibility & contrast

On white

13.98
#211B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#211B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B7A
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B7A#FFFFFF#000000##FFFFFF
##211B7A1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211b7a;
/* rgb */ color: rgb(33, 27, 122);
/* oklch */ color: oklch(30.8% 0.152 275.4);
Tailwind
colors: {
  custom: {
    50: '#6b59a2',
    500: '#211b7a',
    950: '#000000',
  },
}
SCSS
$custom: #211b7a;
$custom-light: #6b59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#211b7a",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 243.789,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30793,
    "c": 0.15249,
    "h": 275.4
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#211B7A
secondary
#A7AE43
accent
#E741DC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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