#17145C#17145C

#17145C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.123 H 275.2°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#17145C
RGBrgb(23, 20, 92)
HSLhsl(243, 64%, 22%)
HSVhsv(243, 78%, 36%)
CMYKcmyk(75%, 78.3%, 0%, 63.9%)
CIE-LABlab(12.32, 27.32, -42.22)
CIE-LCHlch(12.32, 50.28, 302.91°)
OKLaboklab(25.58% 0.0111 -0.122)
OKLCHoklch(25.58% 0.123 275.2)
XYZxyz(2.5346, 1.4549, 10.2704)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17145C #595C14
analogous
#14355C #17145C #3B145C
triadic
#17145C #5C1714 #145C17
tetradic
#17145C #5C1435 #595C14 #145C3B
square
#17145C #5C1435 #595C14 #145C3B
split-complementary
#17145C #5C3B14 #355C14
monochromatic
#060519 #0A092A #17145C #241F8E #302AC1

Accessibility & contrast

On white

16.27
#17145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17145C
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17145C#FFFFFF#000000##FFFFFF
##17145C1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17145c;
/* rgb */ color: rgb(23, 20, 92);
/* oklch */ color: oklch(25.6% 0.123 275.2);
Tailwind
colors: {
  custom: {
    50: '#60528b',
    500: '#17145c',
    950: '#000000',
  },
}
SCSS
$custom: #17145c;
$custom-light: #60528b;
$custom-dark: #000000;
JSON
{
  "hex": "#17145c",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 242.5,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2558,
    "c": 0.12254,
    "h": 275.2
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17145C

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

Preview Lab → · Contrast checker → · Palette generator →

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