#211A71#211A71

#211A71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.142 H 276.9°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#211A71
RGBrgb(33, 26, 113)
HSLhsl(245, 63%, 27%)
HSVhsv(245, 77%, 44%)
CMYKcmyk(70.8%, 77%, 0%, 55.7%)
CIE-LABlab(16.77, 32.33, -48.70)
CIE-LCHlch(16.77, 58.46, 303.58°)
OKLaboklab(29.64% 0.017 -0.1407)
OKLCHoklch(29.64% 0.142 276.9)
XYZxyz(3.9763, 2.2540, 15.8451)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A71 #6A711A
analogous
#1A3E71 #211A71 #4D1A71
triadic
#211A71 #71211A #1A7121
tetradic
#211A71 #711A3E #6A711A #1A714D
square
#211A71 #711A3E #6A711A #1A714D
split-complementary
#211A71 #714D1A #3E711A
monochromatic
#070619 #120F3F #211A71 #3025A3 #4135D0

Accessibility & contrast

On white

14.47
#211A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#211A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A71
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A71#FFFFFF#000000##FFFFFF
##211A711.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211a71;
/* rgb */ color: rgb(33, 26, 113);
/* oklch */ color: oklch(29.6% 0.142 276.9);
Tailwind
colors: {
  custom: {
    50: '#69589b',
    500: '#211a71',
    950: '#000000',
  },
}
SCSS
$custom: #211a71;
$custom-light: #69589b;
$custom-dark: #000000;
JSON
{
  "hex": "#211a71",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 244.828,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29643,
    "c": 0.14174,
    "h": 276.9
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#211A71
secondary
#9EA641
accent
#E642D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211A71

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

Preview Lab → · Contrast checker → · Palette generator →

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