#17145E#17145E

#17145E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.125 H 274.9°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#17145E
RGBrgb(23, 20, 94)
HSLhsl(242, 65%, 22%)
HSVhsv(242, 79%, 37%)
CMYKcmyk(75.5%, 78.7%, 0%, 63.1%)
CIE-LABlab(12.55, 28.05, -43.18)
CIE-LCHlch(12.55, 51.49, 303.01°)
OKLaboklab(25.81% 0.0107 -0.1249)
OKLCHoklch(25.81% 0.125 274.9)
XYZxyz(2.6232, 1.4904, 10.7369)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17145E #5B5E14
analogous
#14365E #17145E #3C145E
triadic
#17145E #5E1714 #145E17
tetradic
#17145E #5E1436 #5B5E14 #145E3C
square
#17145E #5E1436 #5B5E14 #145E3C
split-complementary
#17145E #5E3C14 #365E14
monochromatic
#060519 #0B092C #17145E #231F90 #3029C3

Accessibility & contrast

On white

16.18
#17145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17145E
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17145E#FFFFFF#000000##FFFFFF
##17145E1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17145e;
/* rgb */ color: rgb(23, 20, 94);
/* oklch */ color: oklch(25.8% 0.125 274.9);
Tailwind
colors: {
  custom: {
    50: '#61528d',
    500: '#17145e',
    950: '#000000',
  },
}
SCSS
$custom: #17145e;
$custom-light: #61528d;
$custom-dark: #000000;
JSON
{
  "hex": "#17145e",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 242.432,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2581,
    "c": 0.12532,
    "h": 274.9
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17145E

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

Preview Lab → · Contrast checker → · Palette generator →

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