#10173E#10173E

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

Color values

HEX#10173E
RGBrgb(16, 23, 62)
HSLhsl(231, 59%, 15%)
HSVhsv(231, 74%, 24%)
CMYKcmyk(74.2%, 62.9%, 0%, 75.7%)
CIE-LABlab(9.57, 12.05, -26.03)
CIE-LCHlch(9.57, 28.68, 294.85°)
OKLaboklab(22.5% 0.0019 -0.0748)
OKLCHoklch(22.5% 0.075 271.4)
XYZxyz(1.3893, 1.0706, 4.6899)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10173E #3E3710
analogous
#102E3E #10173E #20103E
triadic
#10173E #3E1017 #173E10
tetradic
#10173E #3E102E #3E3710 #103E20
square
#10173E #3E102E #3E3710 #103E20
split-complementary
#10173E #3E2010 #2E3E10
monochromatic
#060918 #060918 #10173E #1D296F #293B9F

Accessibility & contrast

On white

17.30
#10173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#10173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10173E
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10173E#FFFFFF#000000##FFFFFF
##10173E1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #10173e;
/* rgb */ color: rgb(16, 23, 62);
/* oklch */ color: oklch(22.5% 0.075 271.4);
Tailwind
colors: {
  custom: {
    50: '#555374',
    500: '#10173e',
    950: '#000000',
  },
}
SCSS
$custom: #10173e;
$custom-light: #555374;
$custom-dark: #000000;
JSON
{
  "hex": "#10173e",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 230.87,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22502,
    "c": 0.07482,
    "h": 271.4
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#10173E
secondary
#786D32
accent
#CA46E2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #10173E

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

Preview Lab → · Contrast checker → · Palette generator →

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