#211C71#211C71

#211C71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.140 H 276.5°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#211C71
RGBrgb(33, 28, 113)
HSLhsl(244, 60%, 28%)
HSVhsv(244, 75%, 44%)
CMYKcmyk(70.8%, 75.2%, 0%, 55.7%)
CIE-LABlab(17.21, 31.11, -47.98)
CIE-LCHlch(17.21, 57.18, 302.96°)
OKLaboklab(29.96% 0.0157 -0.1386)
OKLCHoklch(29.96% 0.14 276.5)
XYZxyz(4.0221, 2.3457, 15.8604)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C71 #6C711C
analogous
#1C4271 #211C71 #4B1C71
triadic
#211C71 #71211C #1C7121
tetradic
#211C71 #711C42 #6C711C #1C714B
square
#211C71 #711C42 #6C711C #1C714B
split-complementary
#211C71 #714B1C #42711C
monochromatic
#070619 #131040 #211C71 #2F28A2 #4239CE

Accessibility & contrast

On white

14.29
#211C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#211C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C71
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C71#FFFFFF#000000##FFFFFF
##211C711.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211c71;
/* rgb */ color: rgb(33, 28, 113);
/* oklch */ color: oklch(30.0% 0.140 276.5);
Tailwind
colors: {
  custom: {
    50: '#69599b',
    500: '#211c71',
    950: '#000000',
  },
}
SCSS
$custom: #211c71;
$custom-light: #69599b;
$custom-dark: #000000;
JSON
{
  "hex": "#211c71",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 243.529,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29955,
    "c": 0.13951,
    "h": 276.5
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#211C71
secondary
#A0A643
accent
#E344DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211C71

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

Preview Lab → · Contrast checker → · Palette generator →

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