#09173F#09173F

#09173F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.079 H 265.6°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#09173F
RGBrgb(9, 23, 63)
HSLhsl(224, 75%, 14%)
HSVhsv(224, 86%, 25%)
CMYKcmyk(85.7%, 63.5%, 0%, 75.3%)
CIE-LABlab(9.24, 11.29, -27.29)
CIE-LCHlch(9.24, 29.54, 292.46°)
OKLaboklab(22.17% -0.006 -0.0787)
OKLCHoklch(22.17% 0.079 265.6)
XYZxyz(1.3159, 1.0296, 4.8310)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#09173F #3F3109
analogous
#09323F #09173F #16093F
triadic
#09173F #3F0917 #173F09
tetradic
#09173F #3F0932 #3F3109 #093F16
square
#09173F #3F0932 #3F3109 #093F16
split-complementary
#09173F #3F1609 #323F09
monochromatic
#040A1B #040A1B #09173F #112B75 #183EAA

Accessibility & contrast

On white

17.41
#09173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#09173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #09173F
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##09173F#FFFFFF#000000##FFFFFF
##09173F1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #09173f;
/* rgb */ color: rgb(9, 23, 63);
/* oklch */ color: oklch(22.2% 0.079 265.6);
Tailwind
colors: {
  custom: {
    50: '#525374',
    500: '#09173f',
    950: '#000000',
  },
}
SCSS
$custom: #09173f;
$custom-light: #525374;
$custom-dark: #000000;
JSON
{
  "hex": "#09173f",
  "rgb": {
    "r": 9,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 224.444,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22168,
    "c": 0.07894,
    "h": 265.6
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#09173F
secondary
#7D6727
accent
#C136F2
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #09173F

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

Preview Lab → · Contrast checker → · Palette generator →

#09173F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva