#17125E#17125E

#17125E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.128 H 275.3°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#17125E
RGBrgb(23, 18, 94)
HSLhsl(244, 68%, 22%)
HSVhsv(244, 81%, 37%)
CMYKcmyk(75.5%, 80.9%, 0%, 63.1%)
CIE-LABlab(12.11, 29.29, -43.91)
CIE-LCHlch(12.11, 52.78, 303.71°)
OKLaboklab(25.5% 0.0118 -0.1269)
OKLCHoklch(25.5% 0.128 275.3)
XYZxyz(2.5894, 1.4227, 10.7256)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17125E #595E12
analogous
#12335E #17125E #3D125E
triadic
#17125E #5E1712 #125E17
tetradic
#17125E #5E1233 #595E12 #125E3D
square
#17125E #5E1233 #595E12 #125E3D
split-complementary
#17125E #5E3D12 #335E12
monochromatic
#06051A #0A082B #17125E #241C91 #3026C5

Accessibility & contrast

On white

16.35
#17125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17125E
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17125E#FFFFFF#000000##FFFFFF
##17125E1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17125e;
/* rgb */ color: rgb(23, 18, 94);
/* oklch */ color: oklch(25.5% 0.128 275.3);
Tailwind
colors: {
  custom: {
    50: '#61518d',
    500: '#17125e',
    950: '#000000',
  },
}
SCSS
$custom: #17125e;
$custom-light: #61518d;
$custom-dark: #000000;
JSON
{
  "hex": "#17125e",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 243.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.255,
    "c": 0.1275,
    "h": 275.3
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#17125E
secondary
#909635
accent
#EB3DDF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17125E

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

Preview Lab → · Contrast checker → · Palette generator →

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