#09172B#09172B

#09172B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.4% C 0.045 H 257.4°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#09172B
RGBrgb(9, 23, 43)
HSLhsl(215, 65%, 10%)
HSVhsv(215, 79%, 17%)
CMYKcmyk(79.1%, 46.5%, 0%, 83.1%)
CIE-LABlab(7.63, 2.11, -15.35)
CIE-LCHlch(7.63, 15.50, 277.82°)
OKLaboklab(20.42% -0.0097 -0.0436)
OKLCHoklch(20.42% 0.045 257.4)
XYZxyz(0.8549, 0.8452, 2.4031)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#09172B #2B1D09
analogous
#09282B #09172B #0C092B
triadic
#09172B #2B0917 #172B09
tetradic
#09172B #2B0928 #2B1D09 #092B0C
square
#09172B #2B0928 #2B1D09 #092B0C
split-complementary
#09172B #2B0C09 #282B09
monochromatic
#050E19 #050E19 #09172B #14325E #1E4D90

Accessibility & contrast

On white

17.96
#09172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#09172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #09172B
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##09172B#FFFFFF#000000##FFFFFF
##09172B1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192C
Deuteranopia (green-blind)
#09152B
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #09172b;
/* rgb */ color: rgb(9, 23, 43);
/* oklch */ color: oklch(20.4% 0.045 257.4);
Tailwind
colors: {
  custom: {
    50: '#4c5364',
    500: '#09172b',
    950: '#000000',
  },
}
SCSS
$custom: #09172b;
$custom-light: #4c5364;
$custom-dark: #000000;
JSON
{
  "hex": "#09172b",
  "rgb": {
    "r": 9,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 215.294,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20424,
    "c": 0.0447,
    "h": 257.4
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#09172B
secondary
#694E27
accent
#A33FE8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #09172B

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

Preview Lab → · Contrast checker → · Palette generator →

#09172B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva