#17125A#17125A

#17125A is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.0% C 0.122 H 276.0°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#17125A
RGBrgb(23, 18, 90)
HSLhsl(244, 67%, 21%)
HSVhsv(244, 80%, 35%)
CMYKcmyk(74.4%, 80%, 0%, 64.7%)
CIE-LABlab(11.64, 27.85, -41.99)
CIE-LCHlch(11.64, 50.39, 303.55°)
OKLaboklab(25.03% 0.0128 -0.1214)
OKLCHoklch(25.03% 0.122 276)
XYZxyz(2.4145, 1.3527, 9.8047)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17125A #555A12
analogous
#12315A #17125A #3B125A
triadic
#17125A #5A1712 #125A17
tetradic
#17125A #5A1231 #555A12 #125A3B
square
#17125A #5A1231 #555A12 #125A3B
split-complementary
#17125A #5A3B12 #315A12
monochromatic
#07051A #0A0827 #17125A #241C8D #3126C0

Accessibility & contrast

On white

16.53
#17125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17125A
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17125A#FFFFFF#000000##FFFFFF
##17125A1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17125a;
/* rgb */ color: rgb(23, 18, 90);
/* oklch */ color: oklch(25.0% 0.122 276.0);
Tailwind
colors: {
  custom: {
    50: '#60518a',
    500: '#17125a',
    950: '#000000',
  },
}
SCSS
$custom: #17125a;
$custom-light: #60518a;
$custom-dark: #000000;
JSON
{
  "hex": "#17125a",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 244.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25029,
    "c": 0.12204,
    "h": 276
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17125A

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

Preview Lab → · Contrast checker → · Palette generator →

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