#17316B#17316B

#17316B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.106 H 263.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#17316B
RGBrgb(23, 49, 107)
HSLhsl(221, 65%, 25%)
HSVhsv(221, 79%, 42%)
CMYKcmyk(78.5%, 54.2%, 0%, 58%)
CIE-LABlab(21.73, 12.81, -36.75)
CIE-LCHlch(21.73, 38.91, 289.22°)
OKLaboklab(32.97% -0.012 -0.1057)
OKLCHoklch(32.97% 0.106 263.5)
XYZxyz(4.1046, 3.4399, 14.3547)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17316B #6B5117
analogous
#175B6B #17316B #27176B
triadic
#17316B #6B1731 #316B17
tetradic
#17316B #6B175B #6B5117 #176B27
square
#17316B #6B175B #6B5117 #176B27
split-complementary
#17316B #6B2717 #5B6B17
monochromatic
#050C19 #0C1A39 #17316B #22489D #2D5FD0

Accessibility & contrast

On white

12.44
#17316B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#17316B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17316B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17316B#FFFFFF#000000##FFFFFF
##17316B1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C386D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #17316b;
/* rgb */ color: rgb(23, 49, 107);
/* oklch */ color: oklch(33.0% 0.106 263.5);
Tailwind
colors: {
  custom: {
    50: '#626896',
    500: '#17316b',
    950: '#000000',
  },
}
SCSS
$custom: #17316b;
$custom-light: #626896;
$custom-dark: #000000;
JSON
{
  "hex": "#17316b",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 221.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32968,
    "c": 0.10639,
    "h": 263.5
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#17316B
secondary
#A1823D
accent
#B440E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #17316B

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

Preview Lab → · Contrast checker → · Palette generator →

#17316B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva