#10172F#10172F

#10172F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.2% C 0.049 H 269.7°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#10172F
RGBrgb(16, 23, 47)
HSLhsl(226, 49%, 12%)
HSVhsv(226, 66%, 18%)
CMYKcmyk(66%, 51.1%, 0%, 81.6%)
CIE-LABlab(8.38, 5.68, -17.10)
CIE-LCHlch(8.38, 18.02, 288.37°)
OKLaboklab(21.22% -0.0003 -0.0486)
OKLCHoklch(21.22% 0.049 269.7)
XYZxyz(1.0330, 0.9281, 2.8135)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10172F #2F2810
analogous
#10262F #10172F #19102F
triadic
#10172F #2F1017 #172F10
tetradic
#10172F #2F1026 #2F2810 #102F19
square
#10172F #2F1026 #2F2810 #102F19
split-complementary
#10172F #2F1910 #262F10
monochromatic
#080B17 #080B17 #10172F #202D5D #2F448A

Accessibility & contrast

On white

17.71
#10172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#10172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10172F
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10172F#FFFFFF#000000##FFFFFF
##10172F1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#09172E
Tritanopia (blue-blind)
#031C20
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #10172f;
/* rgb */ color: rgb(16, 23, 47);
/* oklch */ color: oklch(21.2% 0.049 269.7);
Tailwind
colors: {
  custom: {
    50: '#515367',
    500: '#10172f',
    950: '#000000',
  },
}
SCSS
$custom: #10172f;
$custom-light: #515367;
$custom-dark: #000000;
JSON
{
  "hex": "#10172f",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 226.452,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21219,
    "c": 0.04855,
    "h": 269.7
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#10172F
secondary
#685C33
accent
#BA4FD9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #10172F

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

Preview Lab → · Contrast checker → · Palette generator →

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