#211756#211756

#211756 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.3% C 0.108 H 283.3°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#211756
RGBrgb(33, 23, 86)
HSLhsl(250, 58%, 21%)
HSVhsv(250, 73%, 34%)
CMYKcmyk(61.6%, 73.3%, 0%, 66.3%)
CIE-LABlab(13.28, 24.70, -36.56)
CIE-LCHlch(13.28, 44.13, 304.05°)
OKLaboklab(26.3% 0.0249 -0.1052)
OKLCHoklch(26.3% 0.108 283.3)
XYZxyz(2.6128, 1.6078, 8.9750)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211756 #4C5617
analogous
#172D56 #211756 #411756
triadic
#211756 #562117 #175621
tetradic
#211756 #56172D #4C5617 #175641
square
#211756 #56172D #4C5617 #175641
split-complementary
#211756 #564117 #2D5617
monochromatic
#090618 #0E0A26 #211756 #342486 #4631B7

Accessibility & contrast

On white

15.89
#211756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211756
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211756#FFFFFF#000000##FFFFFF
##2117561.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#062734
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211756;
/* rgb */ color: rgb(33, 23, 86);
/* oklch */ color: oklch(26.3% 0.108 283.3);
Tailwind
colors: {
  custom: {
    50: '#635586',
    500: '#211756',
    950: '#000000',
  },
}
SCSS
$custom: #211756;
$custom-light: #635586;
$custom-dark: #000000;
JSON
{
  "hex": "#211756",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 249.524,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26298,
    "c": 0.10809,
    "h": 283.3
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#211756
secondary
#808D3C
accent
#E147C9
background
#F6F4F8
surface
#EBE8EF
border
#C6C4CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211756

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

Preview Lab → · Contrast checker → · Palette generator →

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