#10174E#10174E

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

Color values

HEX#10174E
RGBrgb(16, 23, 78)
HSLhsl(233, 66%, 18%)
HSVhsv(233, 79%, 31%)
CMYKcmyk(79.5%, 70.5%, 0%, 69.4%)
CIE-LABlab(11.08, 18.83, -34.75)
CIE-LCHlch(11.08, 39.52, 298.46°)
OKLaboklab(24.1% 0.0017 -0.1004)
OKLCHoklch(24.1% 0.1 271)
XYZxyz(1.8948, 1.2728, 7.3521)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10174E #4E4710
analogous
#10364E #10174E #28104E
triadic
#10174E #4E1017 #174E10
tetradic
#10174E #4E1036 #4E4710 #104E28
square
#10174E #4E1036 #4E4710 #104E28
split-complementary
#10174E #4E2810 #364E10
monochromatic
#050719 #06081B #10174E #1A2681 #2535B4

Accessibility & contrast

On white

16.74
#10174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10174E
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10174E#FFFFFF#000000##FFFFFF
##10174E1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001B4D
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #10174e;
/* rgb */ color: rgb(16, 23, 78);
/* oklch */ color: oklch(24.1% 0.100 271.0);
Tailwind
colors: {
  custom: {
    50: '#595380',
    500: '#10174e',
    950: '#000000',
  },
}
SCSS
$custom: #10174e;
$custom-light: #595380;
$custom-dark: #000000;
JSON
{
  "hex": "#10174e",
  "rgb": {
    "r": 16,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 233.226,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24101,
    "c": 0.10041,
    "h": 271
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#10174E
secondary
#887E32
accent
#D63FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10174E

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

Preview Lab → · Contrast checker → · Palette generator →

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