#211757#211757

#211757 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.110 H 283.0°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#211757
RGBrgb(33, 23, 87)
HSLhsl(249, 58%, 22%)
HSVhsv(249, 74%, 34%)
CMYKcmyk(62.1%, 73.6%, 0%, 65.9%)
CIE-LABlab(13.38, 25.06, -37.08)
CIE-LCHlch(13.38, 44.75, 304.05°)
OKLaboklab(26.4% 0.0247 -0.1067)
OKLCHoklch(26.4% 0.11 283)
XYZxyz(2.6534, 1.6241, 9.1886)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211757 #4D5717
analogous
#172D57 #211757 #411757
triadic
#211757 #572117 #175721
tetradic
#211757 #57172D #4D5717 #175741
square
#211757 #57172D #4D5717 #175741
split-complementary
#211757 #574117 #2D5717
monochromatic
#090618 #0F0A27 #211757 #332487 #4631B8

Accessibility & contrast

On white

15.85
#211757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#211757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211757
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211757#FFFFFF#000000##FFFFFF
##2117571.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#052834
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211757;
/* rgb */ color: rgb(33, 23, 87);
/* oklch */ color: oklch(26.4% 0.110 283.0);
Tailwind
colors: {
  custom: {
    50: '#635587',
    500: '#211757',
    950: '#000000',
  },
}
SCSS
$custom: #211757;
$custom-light: #635587;
$custom-dark: #000000;
JSON
{
  "hex": "#211757",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 249.375,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26399,
    "c": 0.10952,
    "h": 283
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#211757
secondary
#818E3C
accent
#E146C9
background
#F6F4F8
surface
#EBE8EF
border
#C6C4CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211757

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

Preview Lab → · Contrast checker → · Palette generator →

#211757 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva