#211D7A#211D7A

#211D7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.150 H 275.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#211D7A
RGBrgb(33, 29, 122)
HSLhsl(243, 62%, 30%)
HSVhsv(243, 76%, 48%)
CMYKcmyk(73%, 76.2%, 0%, 52.2%)
CIE-LABlab(18.39, 33.67, -51.81)
CIE-LCHlch(18.39, 61.79, 303.02°)
OKLaboklab(31.09% 0.0133 -0.1498)
OKLCHoklch(31.09% 0.15 275.1)
XYZxyz(4.5783, 2.6068, 18.6705)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D7A #767A1D
analogous
#1D477A #211D7A #501D7A
triadic
#211D7A #7A211D #1D7A21
tetradic
#211D7A #7A1D47 #767A1D #1D7A50
square
#211D7A #7A1D47 #767A1D #1D7A50
split-complementary
#211D7A #7A501D #477A1D
monochromatic
#070619 #141149 #211D7A #2E29AB #4640D2

Accessibility & contrast

On white

13.80
#211D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D7A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D7A#FFFFFF#000000##FFFFFF
##211D7A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211d7a;
/* rgb */ color: rgb(33, 29, 122);
/* oklch */ color: oklch(31.1% 0.150 275.1);
Tailwind
colors: {
  custom: {
    50: '#6b5aa1',
    500: '#211d7a',
    950: '#000000',
  },
}
SCSS
$custom: #211d7a;
$custom-light: #6b5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#211d7a",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 242.581,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.15039,
    "h": 275.1
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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