#17125D#17125D

#17125D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.126 H 275.5°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#17125D
RGBrgb(23, 18, 93)
HSLhsl(244, 68%, 22%)
HSVhsv(244, 81%, 36%)
CMYKcmyk(75.3%, 80.6%, 0%, 63.5%)
CIE-LABlab(11.99, 28.94, -43.43)
CIE-LCHlch(11.99, 52.19, 303.67°)
OKLaboklab(25.38% 0.0121 -0.1256)
OKLCHoklch(25.38% 0.126 275.5)
XYZxyz(2.5448, 1.4048, 10.4909)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17125D #585D12
analogous
#12335D #17125D #3D125D
triadic
#17125D #5D1712 #125D17
tetradic
#17125D #5D1233 #585D12 #125D3D
square
#17125D #5D1233 #585D12 #125D3D
split-complementary
#17125D #5D3D12 #335D12
monochromatic
#06051A #0A082A #17125D #241C90 #3026C4

Accessibility & contrast

On white

16.39
#17125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17125D
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17125D#FFFFFF#000000##FFFFFF
##17125D1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #17125d;
/* rgb */ color: rgb(23, 18, 93);
/* oklch */ color: oklch(25.4% 0.126 275.5);
Tailwind
colors: {
  custom: {
    50: '#61518c',
    500: '#17125d',
    950: '#000000',
  },
}
SCSS
$custom: #17125d;
$custom-light: #61518c;
$custom-dark: #000000;
JSON
{
  "hex": "#17125d",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 244,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25381,
    "c": 0.12614,
    "h": 275.5
  },
  "luminance": 0.01405
}

Semantic roles & 50–950 ramp

primary
#17125D
secondary
#8F9535
accent
#EA3DDF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17125D

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

Preview Lab → · Contrast checker → · Palette generator →

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