#17315D#17315D

#17315D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.085 H 260.2°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#17315D
RGBrgb(23, 49, 93)
HSLhsl(218, 60%, 23%)
HSVhsv(218, 75%, 36%)
CMYKcmyk(75.3%, 47.3%, 0%, 63.5%)
CIE-LABlab(20.71, 6.96, -29.25)
CIE-LCHlch(20.71, 30.06, 283.38°)
OKLaboklab(31.86% -0.0144 -0.0836)
OKLCHoklch(31.86% 0.085 260.2)
XYZxyz(3.4267, 3.1687, 10.7848)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17315D #5D4317
analogous
#17545D #17315D #20175D
triadic
#17315D #5D1731 #315D17
tetradic
#17315D #5D1754 #5D4317 #175D20
square
#17315D #5D1754 #5D4317 #175D20
split-complementary
#17315D #5D2017 #545D17
monochromatic
#060D19 #0B172C #17315D #234B8E #2F65BF

Accessibility & contrast

On white

12.85
#17315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#17315D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17315D
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17315D#FFFFFF#000000##FFFFFF
##17315D1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17315d;
/* rgb */ color: rgb(23, 49, 93);
/* oklch */ color: oklch(31.9% 0.085 260.2);
Tailwind
colors: {
  custom: {
    50: '#5e688b',
    500: '#17315d',
    950: '#000000',
  },
}
SCSS
$custom: #17315d;
$custom-light: #5e688b;
$custom-dark: #000000;
JSON
{
  "hex": "#17315d",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 217.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31861,
    "c": 0.08488,
    "h": 260.2
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#17315D
secondary
#94733C
accent
#A844E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #17315D

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

Preview Lab → · Contrast checker → · Palette generator →

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