#10174D#10174D

#10174D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.099 H 271.0°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#10174D
RGBrgb(16, 23, 77)
HSLhsl(233, 66%, 18%)
HSVhsv(233, 79%, 30%)
CMYKcmyk(79.2%, 70.1%, 0%, 69.8%)
CIE-LABlab(10.98, 18.41, -34.22)
CIE-LCHlch(10.98, 38.86, 298.29°)
OKLaboklab(24% 0.0018 -0.0989)
OKLCHoklch(24% 0.099 271)
XYZxyz(1.8592, 1.2586, 7.1647)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10174D #4D4610
analogous
#10354D #10174D #27104D
triadic
#10174D #4D1017 #174D10
tetradic
#10174D #4D1035 #4D4610 #104D27
square
#10174D #4D1035 #4D4610 #104D27
split-complementary
#10174D #4D2710 #354D10
monochromatic
#050819 #05081A #10174D #1B2680 #2535B2

Accessibility & contrast

On white

16.78
#10174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#10174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10174D
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10174D#FFFFFF#000000##FFFFFF
##10174D1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #10174d;
/* rgb */ color: rgb(16, 23, 77);
/* oklch */ color: oklch(24.0% 0.099 271.0);
Tailwind
colors: {
  custom: {
    50: '#59537f',
    500: '#10174d',
    950: '#000000',
  },
}
SCSS
$custom: #10174d;
$custom-light: #59537f;
$custom-dark: #000000;
JSON
{
  "hex": "#10174d",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 233.115,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23995,
    "c": 0.09889,
    "h": 271
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#10174D
secondary
#877D32
accent
#D53FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10174D

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

Preview Lab → · Contrast checker → · Palette generator →

#10174D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva