#211C7B#211C7B

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

Color values

HEX#211C7B
RGBrgb(33, 28, 123)
HSLhsl(243, 63%, 30%)
HSVhsv(243, 77%, 48%)
CMYKcmyk(73.2%, 77.2%, 0%, 51.8%)
CIE-LABlab(18.29, 34.62, -52.62)
CIE-LCHlch(18.29, 62.98, 303.34°)
OKLaboklab(31.05% 0.0136 -0.1521)
OKLCHoklch(31.05% 0.153 275.1)
XYZxyz(4.6164, 2.5835, 18.9904)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C7B #767B1C
analogous
#1C477B #211C7B #511C7B
triadic
#211C7B #7B211C #1C7B21
tetradic
#211C7B #7B1C47 #767B1C #1C7B51
square
#211C7B #7B1C47 #767B1C #1C7B51
split-complementary
#211C7B #7B511C #477B1C
monochromatic
#070619 #141149 #211C7B #2E27AD #463ED3

Accessibility & contrast

On white

13.84
#211C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211C7B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C7B#FFFFFF#000000##FFFFFF
##211C7B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211c7b;
/* rgb */ color: rgb(33, 28, 123);
/* oklch */ color: oklch(31.1% 0.153 275.1);
Tailwind
colors: {
  custom: {
    50: '#6b5aa2',
    500: '#211c7b',
    950: '#000000',
  },
}
SCSS
$custom: #211c7b;
$custom-light: #6b5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#211c7b",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 243.158,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.15275,
    "h": 275.1
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#211C7B
secondary
#A9AF44
accent
#E642DD
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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