#17315A#17315A

#17315A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.080 H 259.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#17315A
RGBrgb(23, 49, 90)
HSLhsl(217, 59%, 22%)
HSVhsv(217, 74%, 35%)
CMYKcmyk(74.4%, 45.6%, 0%, 64.7%)
CIE-LABlab(20.50, 5.71, -27.59)
CIE-LCHlch(20.50, 28.18, 281.69°)
OKLaboklab(31.64% -0.015 -0.0788)
OKLCHoklch(31.64% 0.08 259.2)
XYZxyz(3.2965, 3.1166, 10.0987)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17315A #5A4017
analogous
#17535A #17315A #1E175A
triadic
#17315A #5A1731 #315A17
tetradic
#17315A #5A1753 #5A4017 #175A1E
square
#17315A #5A1753 #5A4017 #175A1E
split-complementary
#17315A #5A1E17 #535A17
monochromatic
#060D18 #0B1629 #17315A #234C8B #3066BB

Accessibility & contrast

On white

12.94
#17315A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#17315A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17315A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17315A#FFFFFF#000000##FFFFFF
##17315A1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E355C
Deuteranopia (green-blind)
#122F59
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17315a;
/* rgb */ color: rgb(23, 49, 90);
/* oklch */ color: oklch(31.6% 0.080 259.2);
Tailwind
colors: {
  custom: {
    50: '#5d6889',
    500: '#17315a',
    950: '#000000',
  },
}
SCSS
$custom: #17315a;
$custom-light: #5d6889;
$custom-dark: #000000;
JSON
{
  "hex": "#17315a",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 216.716,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3164,
    "c": 0.08021,
    "h": 259.2
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#17315A
secondary
#91703C
accent
#A545E2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #17315A

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

Preview Lab → · Contrast checker → · Palette generator →

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