#17126A#17126A

#17126A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.143 H 273.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#17126A
RGBrgb(23, 18, 106)
HSLhsl(243, 71%, 24%)
HSVhsv(243, 83%, 42%)
CMYKcmyk(78.3%, 83%, 0%, 58.4%)
CIE-LABlab(13.56, 33.53, -49.46)
CIE-LCHlch(13.56, 59.75, 304.13°)
OKLaboklab(26.95% 0.0088 -0.1431)
OKLCHoklch(26.95% 0.143 273.5)
XYZxyz(3.1703, 1.6551, 13.7853)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17126A #656A12
analogous
#12396A #17126A #43126A
triadic
#17126A #6A1712 #126A17
tetradic
#17126A #6A1239 #656A12 #126A43
square
#17126A #6A1239 #656A12 #126A43
split-complementary
#17126A #6A4312 #396A12
monochromatic
#06041A #0C0936 #17126A #221B9E #2E24D3

Accessibility & contrast

On white

15.78
#17126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#17126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17126A
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17126A#FFFFFF#000000##FFFFFF
##17126A1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#001E68
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #17126a;
/* rgb */ color: rgb(23, 18, 106);
/* oklch */ color: oklch(26.9% 0.143 273.5);
Tailwind
colors: {
  custom: {
    50: '#645296',
    500: '#17126a',
    950: '#000000',
  },
}
SCSS
$custom: #17126a;
$custom-light: #645296;
$custom-dark: #000000;
JSON
{
  "hex": "#17126a",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 243.409,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.26948,
    "c": 0.14336,
    "h": 273.5
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#17126A
secondary
#9BA236
accent
#EE3AE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #17126A

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

Preview Lab → · Contrast checker → · Palette generator →

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