#211C81#211C81

#211C81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.160 H 274.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#211C81
RGBrgb(33, 28, 129)
HSLhsl(243, 64%, 31%)
HSVhsv(243, 78%, 51%)
CMYKcmyk(74.4%, 78.3%, 0%, 49.4%)
CIE-LABlab(18.96, 36.69, -55.33)
CIE-LCHlch(18.96, 66.38, 303.55°)
OKLaboklab(31.73% 0.0123 -0.16)
OKLCHoklch(31.73% 0.16 274.4)
XYZxyz(5.0036, 2.7383, 21.0295)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C81 #7C811C
analogous
#1C4981 #211C81 #531C81
triadic
#211C81 #81211C #1C8121
tetradic
#211C81 #811C49 #7C811C #1C8153
square
#211C81 #811C49 #7C811C #1C8153
split-complementary
#211C81 #81531C #49811C
monochromatic
#07061C #14114F #211C81 #2E27B3 #4942D6

Accessibility & contrast

On white

13.57
#211C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C81
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C81#FFFFFF#000000##FFFFFF
##211C811.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211c81;
/* rgb */ color: rgb(33, 28, 129);
/* oklch */ color: oklch(31.7% 0.160 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d5aa7',
    500: '#211c81',
    950: '#000000',
  },
}
SCSS
$custom: #211c81;
$custom-light: #6d5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#211c81",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 242.97,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31726,
    "c": 0.16049,
    "h": 274.4
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#211C81
secondary
#AFB444
accent
#E740DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211C81

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

Preview Lab → · Contrast checker → · Palette generator →

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