#211C7E#211C7E

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

Color values

HEX#211C7E
RGBrgb(33, 28, 126)
HSLhsl(243, 64%, 30%)
HSVhsv(243, 78%, 49%)
CMYKcmyk(73.8%, 77.8%, 0%, 50.6%)
CIE-LABlab(18.63, 35.66, -53.98)
CIE-LCHlch(18.63, 64.69, 303.45°)
OKLaboklab(31.39% 0.013 -0.1561)
OKLCHoklch(31.39% 0.157 274.8)
XYZxyz(4.8071, 2.6597, 19.9947)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C7E #797E1C
analogous
#1C487E #211C7E #521C7E
triadic
#211C7E #7E211C #1C7E21
tetradic
#211C7E #7E1C48 #797E1C #1C7E52
square
#211C7E #7E1C48 #797E1C #1C7E52
split-complementary
#211C7E #7E521C #487E1C
monochromatic
#07061A #14114C #211C7E #2E27B0 #4740D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##211C7E#FFFFFF#000000##FFFFFF
##211C7E1.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)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211c7e;
/* rgb */ color: rgb(33, 28, 126);
/* oklch */ color: oklch(31.4% 0.157 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c5aa4',
    500: '#211c7e',
    950: '#000000',
  },
}
SCSS
$custom: #211c7e;
$custom-light: #6c5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#211c7e",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 243.061,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.15664,
    "h": 274.8
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#211C7E
secondary
#ACB244
accent
#E741DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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