#211C5D#211C5D

#211C5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.9% C 0.111 H 279.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#211C5D
RGBrgb(33, 28, 93)
HSLhsl(245, 54%, 24%)
HSVhsv(245, 70%, 36%)
CMYKcmyk(64.5%, 69.9%, 0%, 63.5%)
CIE-LABlab(15.19, 23.88, -38.14)
CIE-LCHlch(15.19, 45.00, 302.05°)
OKLaboklab(27.89% 0.0189 -0.1098)
OKLCHoklch(27.89% 0.111 279.8)
XYZxyz(3.0176, 1.9439, 10.5700)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C5D #585D1C
analogous
#1C375D #211C5D #411C5D
triadic
#211C5D #5D211C #1C5D21
tetradic
#211C5D #5D1C37 #585D1C #1C5D41
square
#211C5D #5D1C37 #585D1C #1C5D41
split-complementary
#211C5D #5D411C #375D1C
monochromatic
#080718 #100E2E #211C5D #322A8C #4238BB

Accessibility & contrast

On white

15.12
#211C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#211C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C5D
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C5D#FFFFFF#000000##FFFFFF
##211C5D1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211c5d;
/* rgb */ color: rgb(33, 28, 93);
/* oklch */ color: oklch(27.9% 0.111 279.8);
Tailwind
colors: {
  custom: {
    50: '#64588c',
    500: '#211c5d',
    950: '#000000',
  },
}
SCSS
$custom: #211c5d;
$custom-light: #64588c;
$custom-dark: #000000;
JSON
{
  "hex": "#211c5d",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 244.615,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27889,
    "c": 0.11144,
    "h": 279.8
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#211C5D
secondary
#8C9242
accent
#DD4BD2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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