#17145F#17145F

#17145F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.127 H 274.7°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#17145F
RGBrgb(23, 20, 95)
HSLhsl(242, 65%, 23%)
HSVhsv(242, 79%, 37%)
CMYKcmyk(75.8%, 78.9%, 0%, 62.7%)
CIE-LABlab(12.66, 28.42, -43.66)
CIE-LCHlch(12.66, 52.10, 303.06°)
OKLaboklab(25.93% 0.0105 -0.1262)
OKLCHoklch(25.93% 0.127 274.7)
XYZxyz(2.6684, 1.5084, 10.9748)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17145F #5C5F14
analogous
#14365F #17145F #3C145F
triadic
#17145F #5F1714 #145F17
tetradic
#17145F #5F1436 #5C5F14 #145F3C
square
#17145F #5F1436 #5C5F14 #145F3C
split-complementary
#17145F #5F3C14 #365F14
monochromatic
#060519 #0B092C #17145F #231F92 #2F29C4

Accessibility & contrast

On white

16.13
#17145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#17145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17145F
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17145F#FFFFFF#000000##FFFFFF
##17145F1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17145f;
/* rgb */ color: rgb(23, 20, 95);
/* oklch */ color: oklch(25.9% 0.127 274.7);
Tailwind
colors: {
  custom: {
    50: '#61528d',
    500: '#17145f',
    950: '#000000',
  },
}
SCSS
$custom: #17145f;
$custom-light: #61528d;
$custom-dark: #000000;
JSON
{
  "hex": "#17145f",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 242.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25926,
    "c": 0.12668,
    "h": 274.7
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#17145F
secondary
#939738
accent
#E840E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17145F

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

Preview Lab → · Contrast checker → · Palette generator →

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