#10172B#10172B

#10172B is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.9% C 0.041 H 268.1°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#10172B
RGBrgb(16, 23, 43)
HSLhsl(224, 46%, 12%)
HSVhsv(224, 63%, 17%)
CMYKcmyk(62.8%, 46.5%, 0%, 83.1%)
CIE-LABlab(8.10, 4.03, -14.58)
CIE-LCHlch(8.10, 15.12, 285.45°)
OKLaboklab(20.92% -0.0013 -0.0412)
OKLCHoklch(20.92% 0.041 268.1)
XYZxyz(0.9560, 0.8973, 2.4079)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10172B #2B2410
analogous
#10252B #10172B #17102B
triadic
#10172B #2B1017 #172B10
tetradic
#10172B #2B1025 #2B2410 #102B17
square
#10172B #2B1025 #2B2410 #102B17
split-complementary
#10172B #2B1710 #252B10
monochromatic
#080C16 #080C16 #10172B #212F58 #314784

Accessibility & contrast

On white

17.81
#10172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#10172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10172B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10172B#FFFFFF#000000##FFFFFF
##10172B1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#0C172B
Tritanopia (blue-blind)
#051B1E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #10172b;
/* rgb */ color: rgb(16, 23, 43);
/* oklch */ color: oklch(20.9% 0.041 268.1);
Tailwind
colors: {
  custom: {
    50: '#505364',
    500: '#10172b',
    950: '#000000',
  },
}
SCSS
$custom: #10172b;
$custom-light: #505364;
$custom-dark: #000000;
JSON
{
  "hex": "#10172b",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 224.444,
    "s": 45.763,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2092,
    "c": 0.0412,
    "h": 268.1
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#10172B
secondary
#645733
accent
#B352D5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #10172B

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

Preview Lab → · Contrast checker → · Palette generator →

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