#10173F#10173F

#10173F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.076 H 271.4°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#10173F
RGBrgb(16, 23, 63)
HSLhsl(231, 59%, 15%)
HSVhsv(231, 75%, 25%)
CMYKcmyk(74.6%, 63.5%, 0%, 75.3%)
CIE-LABlab(9.65, 12.48, -26.60)
CIE-LCHlch(9.65, 29.38, 295.14°)
OKLaboklab(22.6% 0.0019 -0.0765)
OKLCHoklch(22.6% 0.076 271.4)
XYZxyz(1.4170, 1.0817, 4.8358)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10173F #3F3810
analogous
#102E3F #10173F #20103F
triadic
#10173F #3F1017 #173F10
tetradic
#10173F #3F102E #3F3810 #103F20
square
#10173F #3F102E #3F3810 #103F20
split-complementary
#10173F #3F2010 #2E3F10
monochromatic
#060918 #060918 #10173F #1C2970 #293BA1

Accessibility & contrast

On white

17.26
#10173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#10173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10173F
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10173F#FFFFFF#000000##FFFFFF
##10173F1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10173f;
/* rgb */ color: rgb(16, 23, 63);
/* oklch */ color: oklch(22.6% 0.076 271.4);
Tailwind
colors: {
  custom: {
    50: '#555374',
    500: '#10173f',
    950: '#000000',
  },
}
SCSS
$custom: #10173f;
$custom-light: #555374;
$custom-dark: #000000;
JSON
{
  "hex": "#10173f",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 231.064,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22596,
    "c": 0.07649,
    "h": 271.4
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#10173F
secondary
#796E32
accent
#CB45E3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #10173F

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

Preview Lab → · Contrast checker → · Palette generator →

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