#09172D#09172D

#09172D is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.6% C 0.048 H 259.1°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#09172D
RGBrgb(9, 23, 45)
HSLhsl(217, 67%, 11%)
HSVhsv(217, 80%, 18%)
CMYKcmyk(80%, 48.9%, 0%, 82.4%)
CIE-LABlab(7.77, 3.03, -16.62)
CIE-LCHlch(7.77, 16.89, 280.33°)
OKLaboklab(20.58% -0.0091 -0.0473)
OKLCHoklch(20.58% 0.048 259.1)
XYZxyz(0.8925, 0.8602, 2.6011)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#09172D #2D1F09
analogous
#09292D #09172D #0D092D
triadic
#09172D #2D0917 #172D09
tetradic
#09172D #2D0929 #2D1F09 #092D0D
square
#09172D #2D0929 #2D1F09 #092D0D
split-complementary
#09172D #2D0D09 #292D09
monochromatic
#050D1A #050D1A #09172D #133160 #1D4B93

Accessibility & contrast

On white

17.92
#09172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #09172D
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##09172D#FFFFFF#000000##FFFFFF
##09172D1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192E
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #09172d;
/* rgb */ color: rgb(9, 23, 45);
/* oklch */ color: oklch(20.6% 0.048 259.1);
Tailwind
colors: {
  custom: {
    50: '#4d5366',
    500: '#09172d',
    950: '#000000',
  },
}
SCSS
$custom: #09172d;
$custom-light: #4d5366;
$custom-dark: #000000;
JSON
{
  "hex": "#09172d",
  "rgb": {
    "r": 9,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 216.667,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20577,
    "c": 0.04819,
    "h": 259.1
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#09172D
secondary
#6B5027
accent
#A73EEA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #09172D

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

Preview Lab → · Contrast checker → · Palette generator →

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