#17125C#17125C

#17125C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.125 H 275.7°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#17125C
RGBrgb(23, 18, 92)
HSLhsl(244, 67%, 22%)
HSVhsv(244, 80%, 36%)
CMYKcmyk(75%, 80.4%, 0%, 63.9%)
CIE-LABlab(11.87, 28.57, -42.95)
CIE-LCHlch(11.87, 51.59, 303.63°)
OKLaboklab(25.26% 0.0123 -0.1242)
OKLCHoklch(25.26% 0.125 275.7)
XYZxyz(2.5008, 1.3872, 10.2591)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17125C #575C12
analogous
#12325C #17125C #3C125C
triadic
#17125C #5C1712 #125C17
tetradic
#17125C #5C1232 #575C12 #125C3C
square
#17125C #5C1232 #575C12 #125C3C
split-complementary
#17125C #5C3C12 #325C12
monochromatic
#06051A #0A0829 #17125C #241C8F #3126C2

Accessibility & contrast

On white

16.44
#17125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#17125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17125C
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17125C#FFFFFF#000000##FFFFFF
##17125C1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #17125c;
/* rgb */ color: rgb(23, 18, 92);
/* oklch */ color: oklch(25.3% 0.125 275.7);
Tailwind
colors: {
  custom: {
    50: '#60518b',
    500: '#17125c',
    950: '#000000',
  },
}
SCSS
$custom: #17125c;
$custom-light: #60518b;
$custom-dark: #000000;
JSON
{
  "hex": "#17125c",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 244.054,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25264,
    "c": 0.12478,
    "h": 275.7
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#17125C
secondary
#8E9435
accent
#EA3EDF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17125C

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

Preview Lab → · Contrast checker → · Palette generator →

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