#17145A#17145A

#17145A is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.4% C 0.120 H 275.5°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#17145A
RGBrgb(23, 20, 90)
HSLhsl(243, 64%, 22%)
HSVhsv(243, 78%, 35%)
CMYKcmyk(74.4%, 77.8%, 0%, 64.7%)
CIE-LABlab(12.09, 26.58, -41.24)
CIE-LCHlch(12.09, 49.06, 302.80°)
OKLaboklab(25.35% 0.0115 -0.1192)
OKLCHoklch(25.35% 0.12 275.5)
XYZxyz(2.4484, 1.4204, 9.8160)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17145A #575A14
analogous
#14345A #17145A #3A145A
triadic
#17145A #5A1714 #145A17
tetradic
#17145A #5A1434 #575A14 #145A3A
square
#17145A #5A1434 #575A14 #145A3A
split-complementary
#17145A #5A3A14 #345A14
monochromatic
#060619 #0A0928 #17145A #241F8C #312ABE

Accessibility & contrast

On white

16.35
#17145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#17145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17145A
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17145A#FFFFFF#000000##FFFFFF
##17145A1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17145a;
/* rgb */ color: rgb(23, 20, 90);
/* oklch */ color: oklch(25.4% 0.120 275.5);
Tailwind
colors: {
  custom: {
    50: '#605289',
    500: '#17145a',
    950: '#000000',
  },
}
SCSS
$custom: #17145a;
$custom-light: #605289;
$custom-dark: #000000;
JSON
{
  "hex": "#17145a",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 242.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25351,
    "c": 0.11975,
    "h": 275.5
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#17145A
secondary
#8E9238
accent
#E741E0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17145A

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

Preview Lab → · Contrast checker → · Palette generator →

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