#17125B#17125B

#17125B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.1% C 0.123 H 275.8°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#17125B
RGBrgb(23, 18, 91)
HSLhsl(244, 67%, 21%)
HSVhsv(244, 80%, 36%)
CMYKcmyk(74.7%, 80.2%, 0%, 64.3%)
CIE-LABlab(11.76, 28.21, -42.47)
CIE-LCHlch(11.76, 50.99, 303.59°)
OKLaboklab(25.15% 0.0126 -0.1228)
OKLCHoklch(25.15% 0.123 275.8)
XYZxyz(2.4574, 1.3699, 10.0304)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17125B #565B12
analogous
#12325B #17125B #3C125B
triadic
#17125B #5B1712 #125B17
tetradic
#17125B #5B1232 #565B12 #125B3C
square
#17125B #5B1232 #565B12 #125B3C
split-complementary
#17125B #5B3C12 #325B12
monochromatic
#06051A #0A0828 #17125B #241C8E #3126C1

Accessibility & contrast

On white

16.48
#17125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#17125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17125B
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17125B#FFFFFF#000000##FFFFFF
##17125B1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001C5A
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #17125b;
/* rgb */ color: rgb(23, 18, 91);
/* oklch */ color: oklch(25.1% 0.123 275.8);
Tailwind
colors: {
  custom: {
    50: '#60518a',
    500: '#17125b',
    950: '#000000',
  },
}
SCSS
$custom: #17125b;
$custom-light: #60518a;
$custom-dark: #000000;
JSON
{
  "hex": "#17125b",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 244.11,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25146,
    "c": 0.12341,
    "h": 275.8
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#17125B
secondary
#8D9335
accent
#EA3EDE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17125B

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

Preview Lab → · Contrast checker → · Palette generator →

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