#211D7B#211D7B

#211D7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.152 H 274.9°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#211D7B
RGBrgb(33, 29, 123)
HSLhsl(243, 62%, 30%)
HSVhsv(243, 76%, 48%)
CMYKcmyk(73.2%, 76.4%, 0%, 51.8%)
CIE-LABlab(18.50, 34.02, -52.27)
CIE-LCHlch(18.50, 62.37, 303.06°)
OKLaboklab(31.2% 0.0131 -0.1511)
OKLCHoklch(31.2% 0.152 274.9)
XYZxyz(4.6405, 2.6317, 18.9985)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D7B #777B1D
analogous
#1D487B #211D7B #501D7B
triadic
#211D7B #7B211D #1D7B21
tetradic
#211D7B #7B1D48 #777B1D #1D7B50
square
#211D7B #7B1D48 #777B1D #1D7B50
split-complementary
#211D7B #7B501D #487B1D
monochromatic
#070619 #141149 #211D7B #2E29AD #4740D2

Accessibility & contrast

On white

13.76
#211D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211D7B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D7B#FFFFFF#000000##FFFFFF
##211D7B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211d7b;
/* rgb */ color: rgb(33, 29, 123);
/* oklch */ color: oklch(31.2% 0.152 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b5aa2',
    500: '#211d7b',
    950: '#000000',
  },
}
SCSS
$custom: #211d7b;
$custom-light: #6b5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#211d7b",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 242.553,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31202,
    "c": 0.15169,
    "h": 274.9
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#211D7B
secondary
#AAAF45
accent
#E543DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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