#09173B#09173B

#09173B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.072 H 264.9°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#09173B
RGBrgb(9, 23, 59)
HSLhsl(223, 74%, 13%)
HSVhsv(223, 85%, 23%)
CMYKcmyk(84.7%, 61%, 0%, 76.9%)
CIE-LABlab(8.88, 9.46, -25.02)
CIE-LCHlch(8.88, 26.75, 290.70°)
OKLaboklab(21.79% -0.0064 -0.072)
OKLCHoklch(21.79% 0.072 264.9)
XYZxyz(1.2082, 0.9865, 4.2636)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#09173B #3B2D09
analogous
#09303B #09173B #14093B
triadic
#09173B #3B0917 #173B09
tetradic
#09173B #3B0930 #3B2D09 #093B14
square
#09173B #3B0930 #3B2D09 #093B14
split-complementary
#09173B #3B1409 #303B09
monochromatic
#040A1B #040A1B #09173B #112C70 #1940A5

Accessibility & contrast

On white

17.54
#09173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#09173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #09173B
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##09173B#FFFFFF#000000##FFFFFF
##09173B1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #09173b;
/* rgb */ color: rgb(9, 23, 59);
/* oklch */ color: oklch(21.8% 0.072 264.9);
Tailwind
colors: {
  custom: {
    50: '#515371',
    500: '#09173b',
    950: '#000000',
  },
}
SCSS
$custom: #09173b;
$custom-light: #515371;
$custom-dark: #000000;
JSON
{
  "hex": "#09173b",
  "rgb": {
    "r": 9,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 223.2,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21785,
    "c": 0.07231,
    "h": 264.9
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#09173B
secondary
#796227
accent
#BD38F0
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #09173B

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

Preview Lab → · Contrast checker → · Palette generator →

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