#211B7F#211B7F

#211B7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.159 H 274.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#211B7F
RGBrgb(33, 27, 127)
HSLhsl(244, 65%, 30%)
HSVhsv(244, 79%, 50%)
CMYKcmyk(74%, 78.7%, 0%, 50.2%)
CIE-LABlab(18.54, 36.58, -54.76)
CIE-LCHlch(18.54, 65.85, 303.74°)
OKLaboklab(31.36% 0.0133 -0.1584)
OKLCHoklch(31.36% 0.159 274.8)
XYZxyz(4.8486, 2.6390, 20.3284)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B7F #797F1B
analogous
#1B477F #211B7F #531B7F
triadic
#211B7F #7F211B #1B7F21
tetradic
#211B7F #7F1B47 #797F1B #1B7F53
square
#211B7F #7F1B47 #797F1B #1B7F53
split-complementary
#211B7F #7F531B #477F1B
monochromatic
#07061A #14104D #211B7F #2E26B1 #473ED6

Accessibility & contrast

On white

13.74
#211B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#211B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B7F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B7F#FFFFFF#000000##FFFFFF
##211B7F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211b7f;
/* rgb */ color: rgb(33, 27, 127);
/* oklch */ color: oklch(31.4% 0.159 274.8);
Tailwind
colors: {
  custom: {
    50: '#6d59a5',
    500: '#211b7f',
    950: '#000000',
  },
}
SCSS
$custom: #211b7f;
$custom-light: #6d59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#211b7f",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 243.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31358,
    "c": 0.15893,
    "h": 274.8
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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