#211B7B#211B7B

#211B7B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.154 H 275.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#211B7B
RGBrgb(33, 27, 123)
HSLhsl(244, 64%, 29%)
HSVhsv(244, 78%, 48%)
CMYKcmyk(73.2%, 78%, 0%, 51.8%)
CIE-LABlab(18.08, 35.21, -52.96)
CIE-LCHlch(18.08, 63.60, 303.61°)
OKLaboklab(30.9% 0.0142 -0.1531)
OKLCHoklch(30.9% 0.154 275.3)
XYZxyz(4.5931, 2.5368, 18.9826)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B7B #757B1B
analogous
#1B457B #211B7B #511B7B
triadic
#211B7B #7B211B #1B7B21
tetradic
#211B7B #7B1B45 #757B1B #1B7B51
square
#211B7B #7B1B45 #757B1B #1B7B51
split-complementary
#211B7B #7B511B #457B1B
monochromatic
#070619 #141049 #211B7B #2E26AD #463CD4

Accessibility & contrast

On white

13.93
#211B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#211B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B7B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B7B#FFFFFF#000000##FFFFFF
##211B7B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211b7b;
/* rgb */ color: rgb(33, 27, 123);
/* oklch */ color: oklch(30.9% 0.154 275.3);
Tailwind
colors: {
  custom: {
    50: '#6c59a2',
    500: '#211b7b',
    950: '#000000',
  },
}
SCSS
$custom: #211b7b;
$custom-light: #6c59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#211b7b",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 243.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30905,
    "c": 0.15379,
    "h": 275.3
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#211B7B
secondary
#A8AF43
accent
#E741DD
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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