#17145B#17145B

#17145B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.121 H 275.4°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#17145B
RGBrgb(23, 20, 91)
HSLhsl(243, 64%, 22%)
HSVhsv(243, 78%, 36%)
CMYKcmyk(74.7%, 78%, 0%, 64.3%)
CIE-LABlab(12.21, 26.95, -41.73)
CIE-LCHlch(12.21, 49.67, 302.85°)
OKLaboklab(25.47% 0.0113 -0.1206)
OKLCHoklch(25.47% 0.121 275.4)
XYZxyz(2.4912, 1.4376, 10.0417)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17145B #585B14
analogous
#14355B #17145B #3B145B
triadic
#17145B #5B1714 #145B17
tetradic
#17145B #5B1435 #585B14 #145B3B
square
#17145B #5B1435 #585B14 #145B3B
split-complementary
#17145B #5B3B14 #355B14
monochromatic
#060619 #0A0929 #17145B #241F8D #302ABF

Accessibility & contrast

On white

16.31
#17145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17145B
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17145B#FFFFFF#000000##FFFFFF
##17145B1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17145b;
/* rgb */ color: rgb(23, 20, 91);
/* oklch */ color: oklch(25.5% 0.121 275.4);
Tailwind
colors: {
  custom: {
    50: '#60528a',
    500: '#17145b',
    950: '#000000',
  },
}
SCSS
$custom: #17145b;
$custom-light: #60528a;
$custom-dark: #000000;
JSON
{
  "hex": "#17145b",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 242.535,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25465,
    "c": 0.12116,
    "h": 275.4
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17145B

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

Preview Lab → · Contrast checker → · Palette generator →

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