#17407F#17407F

#17407F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.116 H 259.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#17407F
RGBrgb(23, 64, 127)
HSLhsl(216, 69%, 29%)
HSVhsv(216, 82%, 50%)
CMYKcmyk(81.9%, 49.6%, 0%, 50.2%)
CIE-LABlab(27.79, 10.50, -39.67)
CIE-LCHlch(27.79, 41.04, 284.83°)
OKLaboklab(38.08% -0.022 -0.114)
OKLCHoklch(38.08% 0.116 259.1)
XYZxyz(6.0161, 5.3805, 20.7960)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17407F #7F5617
analogous
#17747F #17407F #22177F
triadic
#17407F #7F1740 #407F17
tetradic
#17407F #7F1774 #7F5617 #177F22
square
#17407F #7F1774 #7F5617 #177F22
split-complementary
#17407F #7F2217 #747F17
monochromatic
#050D1A #0E264B #17407F #205AB3 #3677DB

Accessibility & contrast

On white

10.11
#17407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#17407F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17407F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17407F#FFFFFF#000000##FFFFFF
##17407F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4781
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #17407f;
/* rgb */ color: rgb(23, 64, 127);
/* oklch */ color: oklch(38.1% 0.116 259.1);
Tailwind
colors: {
  custom: {
    50: '#6674a5',
    500: '#17407f',
    950: '#000000',
  },
}
SCSS
$custom: #17407f;
$custom-light: #6674a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17407f",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 216.346,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3808,
    "c": 0.11613,
    "h": 259.1
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#17407F
secondary
#B4853E
accent
#A73CEC
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #17407F

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

Preview Lab → · Contrast checker → · Palette generator →

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