#17126C#17126C

#17126C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.146 H 273.3°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#17126C
RGBrgb(23, 18, 108)
HSLhsl(243, 71%, 25%)
HSVhsv(243, 83%, 42%)
CMYKcmyk(78.7%, 83.3%, 0%, 57.6%)
CIE-LABlab(13.81, 34.22, -50.36)
CIE-LCHlch(13.81, 60.88, 304.20°)
OKLaboklab(27.19% 0.0083 -0.1457)
OKLCHoklch(27.19% 0.146 273.3)
XYZxyz(3.2755, 1.6971, 14.3394)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17126C #676C12
analogous
#123A6C #17126C #44126C
triadic
#17126C #6C1712 #126C17
tetradic
#17126C #6C123A #676C12 #126C44
square
#17126C #6C123A #676C12 #126C44
split-complementary
#17126C #6C4412 #3A6C12
monochromatic
#06041A #0C0938 #17126C #221BA0 #2D23D5

Accessibility & contrast

On white

15.68
#17126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#17126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17126C
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17126C#FFFFFF#000000##FFFFFF
##17126C1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276E
Deuteranopia (green-blind)
#001F6A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #17126c;
/* rgb */ color: rgb(23, 18, 108);
/* oklch */ color: oklch(27.2% 0.146 273.3);
Tailwind
colors: {
  custom: {
    50: '#655297',
    500: '#17126c',
    950: '#000000',
  },
}
SCSS
$custom: #17126c;
$custom-light: #655297;
$custom-dark: #000000;
JSON
{
  "hex": "#17126c",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 243.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27194,
    "c": 0.14594,
    "h": 273.3
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#17126C
secondary
#9DA336
accent
#EE3AE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #17126C

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

Preview Lab → · Contrast checker → · Palette generator →

#17126C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva