#211B7C#211B7C

#211B7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.155 H 275.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#211B7C
RGBrgb(33, 27, 124)
HSLhsl(244, 64%, 30%)
HSVhsv(244, 78%, 49%)
CMYKcmyk(73.4%, 78.2%, 0%, 51.4%)
CIE-LABlab(18.20, 35.55, -53.41)
CIE-LCHlch(18.20, 64.16, 303.64°)
OKLaboklab(31.02% 0.014 -0.1544)
OKLCHoklch(31.02% 0.155 275.2)
XYZxyz(4.6560, 2.5620, 19.3140)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B7C #767C1B
analogous
#1B467C #211B7C #511B7C
triadic
#211B7C #7C211B #1B7C21
tetradic
#211B7C #7C1B46 #767C1B #1B7C51
square
#211B7C #7C1B46 #767C1B #1B7C51
split-complementary
#211B7C #7C511B #467C1B
monochromatic
#070519 #14104A #211B7C #2E26AE #463DD5

Accessibility & contrast

On white

13.89
#211B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211B7C
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B7C#FFFFFF#000000##FFFFFF
##211B7C1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211b7c;
/* rgb */ color: rgb(33, 27, 124);
/* oklch */ color: oklch(31.0% 0.155 275.2);
Tailwind
colors: {
  custom: {
    50: '#6c59a3',
    500: '#211b7c',
    950: '#000000',
  },
}
SCSS
$custom: #211b7c;
$custom-light: #6c59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#211b7c",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 243.711,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31018,
    "c": 0.15508,
    "h": 275.2
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#211B7C
secondary
#A9B043
accent
#E741DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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