#10174C#10174C

#10174C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.097 H 271.1°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#10174C
RGBrgb(16, 23, 76)
HSLhsl(233, 65%, 18%)
HSVhsv(233, 79%, 30%)
CMYKcmyk(78.9%, 69.7%, 0%, 70.2%)
CIE-LABlab(10.88, 17.99, -33.70)
CIE-LCHlch(10.88, 38.20, 298.10°)
OKLaboklab(23.89% 0.0018 -0.0973)
OKLCHoklch(23.89% 0.097 271.1)
XYZxyz(1.8241, 1.2446, 6.9802)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10174C #4C4510
analogous
#10354C #10174C #27104C
triadic
#10174C #4C1017 #174C10
tetradic
#10174C #4C1035 #4C4510 #104C27
square
#10174C #4C1035 #4C4510 #104C27
split-complementary
#10174C #4C2710 #354C10
monochromatic
#050819 #050819 #10174C #1B267F #2536B1

Accessibility & contrast

On white

16.81
#10174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10174C
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10174C#FFFFFF#000000##FFFFFF
##10174C1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10174c;
/* rgb */ color: rgb(16, 23, 76);
/* oklch */ color: oklch(23.9% 0.097 271.1);
Tailwind
colors: {
  custom: {
    50: '#59537f',
    500: '#10174c',
    950: '#000000',
  },
}
SCSS
$custom: #10174c;
$custom-light: #59537f;
$custom-dark: #000000;
JSON
{
  "hex": "#10174c",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 233,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2389,
    "c": 0.09735,
    "h": 271.1
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#10174C
secondary
#867C32
accent
#D540E8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10174C

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

Preview Lab → · Contrast checker → · Palette generator →

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