#17125F#17125F

#17125F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.129 H 275.2°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#17125F
RGBrgb(23, 18, 95)
HSLhsl(244, 68%, 22%)
HSVhsv(244, 81%, 37%)
CMYKcmyk(75.8%, 81.1%, 0%, 62.7%)
CIE-LABlab(12.23, 29.65, -44.38)
CIE-LCHlch(12.23, 53.38, 303.75°)
OKLaboklab(25.62% 0.0116 -0.1283)
OKLCHoklch(25.62% 0.129 275.2)
XYZxyz(2.6345, 1.4407, 10.9635)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17125F #5A5F12
analogous
#12345F #17125F #3E125F
triadic
#17125F #5F1712 #125F17
tetradic
#17125F #5F1234 #5A5F12 #125F3E
square
#17125F #5F1234 #5A5F12 #125F3E
split-complementary
#17125F #5F3E12 #345F12
monochromatic
#06051A #0B082C #17125F #231C92 #3025C6

Accessibility & contrast

On white

16.30
#17125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#17125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17125F
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17125F#FFFFFF#000000##FFFFFF
##17125F1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17125f;
/* rgb */ color: rgb(23, 18, 95);
/* oklch */ color: oklch(25.6% 0.129 275.2);
Tailwind
colors: {
  custom: {
    50: '#61518d',
    500: '#17125f',
    950: '#000000',
  },
}
SCSS
$custom: #17125f;
$custom-light: #61518d;
$custom-dark: #000000;
JSON
{
  "hex": "#17125f",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 243.896,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25618,
    "c": 0.12885,
    "h": 275.2
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#17125F
secondary
#919736
accent
#EB3DE0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17125F

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

Preview Lab → · Contrast checker → · Palette generator →

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