#211D7D#211D7D

#211D7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.154 H 274.7°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#211D7D
RGBrgb(33, 29, 125)
HSLhsl(243, 62%, 30%)
HSVhsv(243, 77%, 49%)
CMYKcmyk(73.6%, 76.8%, 0%, 51%)
CIE-LABlab(18.72, 34.72, -53.18)
CIE-LCHlch(18.72, 63.51, 303.14°)
OKLaboklab(31.42% 0.0127 -0.1538)
OKLCHoklch(31.42% 0.154 274.7)
XYZxyz(4.7670, 2.6823, 19.6646)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D7D #797D1D
analogous
#1D497D #211D7D #511D7D
triadic
#211D7D #7D211D #1D7D21
tetradic
#211D7D #7D1D49 #797D1D #1D7D51
square
#211D7D #7D1D49 #797D1D #1D7D51
split-complementary
#211D7D #7D511D #497D1D
monochromatic
#07061A #14114B #211D7D #2E29AF #4741D3

Accessibility & contrast

On white

13.67
#211D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D7D
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D7D#FFFFFF#000000##FFFFFF
##211D7D1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211d7d;
/* rgb */ color: rgb(33, 29, 125);
/* oklch */ color: oklch(31.4% 0.154 274.7);
Tailwind
colors: {
  custom: {
    50: '#6c5aa4',
    500: '#211d7d',
    950: '#000000',
  },
}
SCSS
$custom: #211d7d;
$custom-light: #6c5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#211d7d",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 242.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31424,
    "c": 0.15431,
    "h": 274.7
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#211D7D
secondary
#ACB145
accent
#E542DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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