#211C7F#211C7F

#211C7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.158 H 274.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#211C7F
RGBrgb(33, 28, 127)
HSLhsl(243, 64%, 30%)
HSVhsv(243, 78%, 50%)
CMYKcmyk(74%, 78%, 0%, 50.2%)
CIE-LABlab(18.74, 36.00, -54.43)
CIE-LCHlch(18.74, 65.26, 303.48°)
OKLaboklab(31.5% 0.0128 -0.1574)
OKLCHoklch(31.5% 0.158 274.6)
XYZxyz(4.8719, 2.6857, 20.3362)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C7F #7A7F1C
analogous
#1C497F #211C7F #521C7F
triadic
#211C7F #7F211C #1C7F21
tetradic
#211C7F #7F1C49 #7A7F1C #1C7F52
square
#211C7F #7F1C49 #7A7F1C #1C7F52
split-complementary
#211C7F #7F521C #497F1C
monochromatic
#07061B #14114D #211C7F #2E27B1 #4840D5

Accessibility & contrast

On white

13.66
#211C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C7F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C7F#FFFFFF#000000##FFFFFF
##211C7F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211c7f;
/* rgb */ color: rgb(33, 28, 127);
/* oklch */ color: oklch(31.5% 0.158 274.6);
Tailwind
colors: {
  custom: {
    50: '#6c5aa5',
    500: '#211c7f',
    950: '#000000',
  },
}
SCSS
$custom: #211c7f;
$custom-light: #6c5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#211c7f",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 243.03,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.315,
    "c": 0.15793,
    "h": 274.6
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#211C7F
secondary
#ADB344
accent
#E741DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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