#17146F#17146F

#17146F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.148 H 272.6°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#17146F
RGBrgb(23, 20, 111)
HSLhsl(242, 69%, 26%)
HSVhsv(242, 82%, 44%)
CMYKcmyk(79.3%, 82%, 0%, 56.5%)
CIE-LABlab(14.57, 34.14, -51.06)
CIE-LCHlch(14.57, 61.42, 303.77°)
OKLaboklab(27.83% 0.0068 -0.1478)
OKLCHoklch(27.83% 0.148 272.6)
XYZxyz(3.4718, 1.8298, 15.2061)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17146F #6C6F14
analogous
#143E6F #17146F #44146F
triadic
#17146F #6F1714 #146F17
tetradic
#17146F #6F143E #6C6F14 #146F44
square
#17146F #6F143E #6C6F14 #146F44
split-complementary
#17146F #6F4414 #3E6F14
monochromatic
#05051A #0C0B3B #17146F #221DA3 #2C27D7

Accessibility & contrast

On white

15.37
#17146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#17146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17146F
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17146F#FFFFFF#000000##FFFFFF
##17146F1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17146f;
/* rgb */ color: rgb(23, 20, 111);
/* oklch */ color: oklch(27.8% 0.148 272.6);
Tailwind
colors: {
  custom: {
    50: '#655499',
    500: '#17146f',
    950: '#000000',
  },
}
SCSS
$custom: #17146f;
$custom-light: #655499;
$custom-dark: #000000;
JSON
{
  "hex": "#17146f",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 241.978,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27832,
    "c": 0.14793,
    "h": 272.6
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#17146F
secondary
#A2A639
accent
#EC3CE6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #17146F

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

Preview Lab → · Contrast checker → · Palette generator →

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