#211D7C#211D7C

#211D7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.153 H 274.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#211D7C
RGBrgb(33, 29, 124)
HSLhsl(243, 62%, 30%)
HSVhsv(243, 77%, 49%)
CMYKcmyk(73.4%, 76.6%, 0%, 51.4%)
CIE-LABlab(18.61, 34.37, -52.73)
CIE-LCHlch(18.61, 62.94, 303.10°)
OKLaboklab(31.31% 0.0129 -0.1525)
OKLCHoklch(31.31% 0.153 274.8)
XYZxyz(4.7035, 2.6568, 19.3298)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D7C #787C1D
analogous
#1D497C #211D7C #501D7C
triadic
#211D7C #7C211D #1D7C21
tetradic
#211D7C #7C1D49 #787C1D #1D7C50
square
#211D7C #7C1D49 #787C1D #1D7C50
split-complementary
#211D7C #7C501D #497C1D
monochromatic
#070619 #14114A #211D7C #2E29AE #4741D3

Accessibility & contrast

On white

13.71
#211D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211D7C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D7C#FFFFFF#000000##FFFFFF
##211D7C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211d7c;
/* rgb */ color: rgb(33, 29, 124);
/* oklch */ color: oklch(31.3% 0.153 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c5aa3',
    500: '#211d7c',
    950: '#000000',
  },
}
SCSS
$custom: #211d7c;
$custom-light: #6c5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#211d7c",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 242.526,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.31313,
    "c": 0.153,
    "h": 274.8
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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