#211C8E#211C8E

#211C8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.177 H 273.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#211C8E
RGBrgb(33, 28, 142)
HSLhsl(243, 67%, 33%)
HSVhsv(243, 80%, 56%)
CMYKcmyk(76.8%, 80.3%, 0%, 44.3%)
CIE-LABlab(20.46, 41.06, -61.01)
CIE-LCHlch(20.46, 73.54, 303.94°)
OKLaboklab(33.22% 0.0093 -0.1765)
OKLCHoklch(33.22% 0.177 273)
XYZxyz(5.9233, 3.1062, 25.8733)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C8E #898E1C
analogous
#1C508E #211C8E #5A1C8E
triadic
#211C8E #8E211C #1C8E21
tetradic
#211C8E #8E1C50 #898E1C #1C8E5A
square
#211C8E #8E1C50 #898E1C #1C8E5A
split-complementary
#211C8E #8E5A1C #508E1C
monochromatic
#090828 #15125B #211C8E #2D26C1 #5049DB

Accessibility & contrast

On white

12.95
#211C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#211C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C8E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C8E#FFFFFF#000000##FFFFFF
##211C8E1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211c8e;
/* rgb */ color: rgb(33, 28, 142);
/* oklch */ color: oklch(33.2% 0.177 273.0);
Tailwind
colors: {
  custom: {
    50: '#705bb0',
    500: '#211c8e',
    950: '#000000',
  },
}
SCSS
$custom: #211c8e;
$custom-light: #705bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#211c8e",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 242.632,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33221,
    "c": 0.17678,
    "h": 273
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#211C8E
secondary
#B8BD49
accent
#EA3EE2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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