#211C8F#211C8F

#211C8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.178 H 272.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#211C8F
RGBrgb(33, 28, 143)
HSLhsl(243, 67%, 34%)
HSVhsv(243, 80%, 56%)
CMYKcmyk(76.9%, 80.4%, 0%, 43.9%)
CIE-LABlab(20.58, 41.39, -61.44)
CIE-LCHlch(20.58, 74.08, 303.97°)
OKLaboklab(33.34% 0.0091 -0.1778)
OKLCHoklch(33.34% 0.178 272.9)
XYZxyz(5.9987, 3.1364, 26.2705)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C8F #8A8F1C
analogous
#1C508F #211C8F #5A1C8F
triadic
#211C8F #8F211C #1C8F21
tetradic
#211C8F #8F1C50 #8A8F1C #1C8F5A
square
#211C8F #8F1C50 #8A8F1C #1C8F5A
split-complementary
#211C8F #8F5A1C #508F1C
monochromatic
#090829 #15125C #211C8F #2D26C2 #504ADC

Accessibility & contrast

On white

12.90
#211C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#211C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C8F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C8F#FFFFFF#000000##FFFFFF
##211C8F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211c8f;
/* rgb */ color: rgb(33, 28, 143);
/* oklch */ color: oklch(33.3% 0.178 272.9);
Tailwind
colors: {
  custom: {
    50: '#715bb1',
    500: '#211c8f',
    950: '#000000',
  },
}
SCSS
$custom: #211c8f;
$custom-light: #715bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#211c8f",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 242.609,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33338,
    "c": 0.178,
    "h": 272.9
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#211C8F
secondary
#B9BE49
accent
#EA3EE3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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