#211D7F#211D7F

#211D7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.157 H 274.5°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#211D7F
RGBrgb(33, 29, 127)
HSLhsl(242, 63%, 31%)
HSVhsv(242, 77%, 50%)
CMYKcmyk(74%, 77.2%, 0%, 50.2%)
CIE-LABlab(18.95, 35.42, -54.09)
CIE-LCHlch(18.95, 64.65, 303.22°)
OKLaboklab(31.65% 0.0122 -0.1564)
OKLCHoklch(31.65% 0.157 274.5)
XYZxyz(4.8961, 2.7339, 20.3442)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D7F #7B7F1D
analogous
#1D4A7F #211D7F #521D7F
triadic
#211D7F #7F211D #1D7F21
tetradic
#211D7F #7F1D4A #7B7F1D #1D7F52
square
#211D7F #7F1D4A #7B7F1D #1D7F52
split-complementary
#211D7F #7F521D #4A7F1D
monochromatic
#07061B #14124D #211D7F #2E28B1 #4842D4

Accessibility & contrast

On white

13.58
#211D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D7F
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D7F#FFFFFF#000000##FFFFFF
##211D7F1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211d7f;
/* rgb */ color: rgb(33, 29, 127);
/* oklch */ color: oklch(31.6% 0.157 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c5ba5',
    500: '#211d7f',
    950: '#000000',
  },
}
SCSS
$custom: #211d7f;
$custom-light: #6c5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#211d7f",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 242.449,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31646,
    "c": 0.15691,
    "h": 274.5
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#211D7F
secondary
#AEB245
accent
#E642DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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