#11172D#11172D

#11172D is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.044 H 270.7°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#11172D
RGBrgb(17, 23, 45)
HSLhsl(227, 45%, 12%)
HSVhsv(227, 62%, 18%)
CMYKcmyk(62.2%, 48.9%, 0%, 82.4%)
CIE-LABlab(8.32, 5.14, -15.71)
CIE-LCHlch(8.32, 16.53, 288.12°)
OKLaboklab(21.15% 0.0005 -0.0445)
OKLCHoklch(21.15% 0.044 270.7)
XYZxyz(1.0111, 0.9214, 2.6067)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11172D #2D2711
analogous
#11252D #11172D #19112D
triadic
#11172D #2D1117 #172D11
tetradic
#11172D #2D1125 #2D2711 #112D19
square
#11172D #2D1125 #2D2711 #112D19
split-complementary
#11172D #2D1911 #252D11
monochromatic
#080B16 #080B16 #11172D #222E59 #334486

Accessibility & contrast

On white

17.73
#11172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#11172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #11172D
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##11172D#FFFFFF#000000##FFFFFF
##11172D1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192E
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#061C1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #11172d;
/* rgb */ color: rgb(17, 23, 45);
/* oklch */ color: oklch(21.1% 0.044 270.7);
Tailwind
colors: {
  custom: {
    50: '#515366',
    500: '#11172d',
    950: '#000000',
  },
}
SCSS
$custom: #11172d;
$custom-light: #515366;
$custom-dark: #000000;
JSON
{
  "hex": "#11172d",
  "rgb": {
    "r": 17,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 227.143,
    "s": 45.161,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21149,
    "c": 0.04448,
    "h": 270.7
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#11172D
secondary
#655B35
accent
#B953D5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #11172D

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

Preview Lab → · Contrast checker → · Palette generator →

#11172D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva