#211B7D#211B7D

#211B7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.156 H 275.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#211B7D
RGBrgb(33, 27, 125)
HSLhsl(244, 64%, 30%)
HSVhsv(244, 78%, 49%)
CMYKcmyk(73.6%, 78.4%, 0%, 51%)
CIE-LABlab(18.31, 35.89, -53.87)
CIE-LCHlch(18.31, 64.73, 303.68°)
OKLaboklab(31.13% 0.0137 -0.1558)
OKLCHoklch(31.13% 0.156 275)
XYZxyz(4.7196, 2.5874, 19.6488)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B7D #777D1B
analogous
#1B467D #211B7D #521B7D
triadic
#211B7D #7D211B #1B7D21
tetradic
#211B7D #7D1B46 #777D1B #1B7D52
square
#211B7D #7D1B46 #777D1B #1B7D52
split-complementary
#211B7D #7D521B #467D1B
monochromatic
#070519 #14104B #211B7D #2E26AF #473DD5

Accessibility & contrast

On white

13.84
#211B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211B7D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B7D#FFFFFF#000000##FFFFFF
##211B7D1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211b7d;
/* rgb */ color: rgb(33, 27, 125);
/* oklch */ color: oklch(31.1% 0.156 275.0);
Tailwind
colors: {
  custom: {
    50: '#6c59a4',
    500: '#211b7d',
    950: '#000000',
  },
}
SCSS
$custom: #211b7d;
$custom-light: #6c59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#211b7d",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 243.673,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31131,
    "c": 0.15636,
    "h": 275
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#211B7D
secondary
#AAB143
accent
#E740DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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