#17145D#17145D

#17145D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.124 H 275.0°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#17145D
RGBrgb(23, 20, 93)
HSLhsl(242, 65%, 22%)
HSVhsv(242, 78%, 36%)
CMYKcmyk(75.3%, 78.5%, 0%, 63.5%)
CIE-LABlab(12.43, 27.69, -42.70)
CIE-LCHlch(12.43, 50.89, 302.96°)
OKLaboklab(25.7% 0.0109 -0.1234)
OKLCHoklch(25.7% 0.124 275)
XYZxyz(2.5786, 1.4725, 10.5021)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17145D #5A5D14
analogous
#14365D #17145D #3C145D
triadic
#17145D #5D1714 #145D17
tetradic
#17145D #5D1436 #5A5D14 #145D3C
square
#17145D #5D1436 #5A5D14 #145D3C
split-complementary
#17145D #5D3C14 #365D14
monochromatic
#060519 #0B092B #17145D #231F8F #302AC2

Accessibility & contrast

On white

16.22
#17145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#17145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17145D
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17145D#FFFFFF#000000##FFFFFF
##17145D1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17145d;
/* rgb */ color: rgb(23, 20, 93);
/* oklch */ color: oklch(25.7% 0.124 275.0);
Tailwind
colors: {
  custom: {
    50: '#60528c',
    500: '#17145d',
    950: '#000000',
  },
}
SCSS
$custom: #17145d;
$custom-light: #60528c;
$custom-dark: #000000;
JSON
{
  "hex": "#17145d",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 242.466,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25695,
    "c": 0.12393,
    "h": 275
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#17145D
secondary
#919538
accent
#E840E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17145D

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

Preview Lab → · Contrast checker → · Palette generator →

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