#17315F#17315F

#17315F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.088 H 260.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#17315F
RGBrgb(23, 49, 95)
HSLhsl(218, 61%, 23%)
HSVhsv(218, 76%, 37%)
CMYKcmyk(75.8%, 48.4%, 0%, 62.7%)
CIE-LABlab(20.85, 7.79, -30.34)
CIE-LCHlch(20.85, 31.33, 284.40°)
OKLaboklab(32.01% -0.014 -0.0869)
OKLCHoklch(32.01% 0.088 260.9)
XYZxyz(3.5165, 3.2046, 11.2575)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17315F #5F4517
analogous
#17555F #17315F #21175F
triadic
#17315F #5F1731 #315F17
tetradic
#17315F #5F1755 #5F4517 #175F21
square
#17315F #5F1755 #5F4517 #175F21
split-complementary
#17315F #5F2117 #555F17
monochromatic
#060D19 #0B182E #17315F #234A90 #2F64C2

Accessibility & contrast

On white

12.80
#17315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#17315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17315F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17315F#FFFFFF#000000##FFFFFF
##17315F1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3661
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17315f;
/* rgb */ color: rgb(23, 49, 95);
/* oklch */ color: oklch(32.0% 0.088 260.9);
Tailwind
colors: {
  custom: {
    50: '#5e688d',
    500: '#17315f',
    950: '#000000',
  },
}
SCSS
$custom: #17315f;
$custom-light: #5e688d;
$custom-dark: #000000;
JSON
{
  "hex": "#17315f",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 218.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32012,
    "c": 0.08799,
    "h": 260.9
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#17315F
secondary
#96753C
accent
#AA44E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #17315F

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

Preview Lab → · Contrast checker → · Palette generator →

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