#171A5C#171A5C

#171A5C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.115 H 273.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#171A5C
RGBrgb(23, 26, 92)
HSLhsl(237, 60%, 23%)
HSVhsv(237, 75%, 36%)
CMYKcmyk(75%, 71.7%, 0%, 63.9%)
CIE-LABlab(13.79, 23.29, -39.80)
CIE-LCHlch(13.79, 46.11, 300.34°)
OKLaboklab(26.64% 0.0069 -0.115)
OKLCHoklch(26.64% 0.115 273.4)
XYZxyz(2.6539, 1.6934, 10.3101)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A5C #5C5917
analogous
#173D5C #171A5C #36175C
triadic
#171A5C #5C171A #1A5C17
tetradic
#171A5C #5C173D #5C5917 #175C36
square
#171A5C #5C173D #5C5917 #175C36
split-complementary
#171A5C #5C3617 #3D5C17
monochromatic
#060718 #0B0C2B #171A5C #23288D #2F36BE

Accessibility & contrast

On white

15.69
#171A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#171A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A5C
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A5C#FFFFFF#000000##FFFFFF
##171A5C1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171a5c;
/* rgb */ color: rgb(23, 26, 92);
/* oklch */ color: oklch(26.6% 0.115 273.4);
Tailwind
colors: {
  custom: {
    50: '#60568b',
    500: '#171a5c',
    950: '#000000',
  },
}
SCSS
$custom: #171a5c;
$custom-light: #60568b;
$custom-dark: #000000;
JSON
{
  "hex": "#171a5c",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 237.391,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26636,
    "c": 0.1152,
    "h": 273.4
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#171A5C
secondary
#938F3C
accent
#DC45E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #171A5C

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

Preview Lab → · Contrast checker → · Palette generator →

#171A5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva