#17126E#17126E

#17126E is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.148 H 273.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#17126E
RGBrgb(23, 18, 110)
HSLhsl(243, 72%, 25%)
HSVhsv(243, 84%, 43%)
CMYKcmyk(79.1%, 83.6%, 0%, 56.9%)
CIE-LABlab(14.06, 34.91, -51.25)
CIE-LCHlch(14.06, 62.01, 304.26°)
OKLaboklab(27.44% 0.0078 -0.1483)
OKLCHoklch(27.44% 0.149 273)
XYZxyz(3.3832, 1.7402, 14.9064)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17126E #696E12
analogous
#123B6E #17126E #45126E
triadic
#17126E #6E1712 #126E17
tetradic
#17126E #6E123B #696E12 #126E45
square
#17126E #6E123B #696E12 #126E45
split-complementary
#17126E #6E4512 #3B6E12
monochromatic
#05041A #0C0939 #17126E #221BA3 #2D23D7

Accessibility & contrast

On white

15.58
#17126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#17126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17126E
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17126E#FFFFFF#000000##FFFFFF
##17126E1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#001F6C
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17126e;
/* rgb */ color: rgb(23, 18, 110);
/* oklch */ color: oklch(27.4% 0.148 273.0);
Tailwind
colors: {
  custom: {
    50: '#655299',
    500: '#17126e',
    950: '#000000',
  },
}
SCSS
$custom: #17126e;
$custom-light: #655299;
$custom-dark: #000000;
JSON
{
  "hex": "#17126e",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 243.261,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27441,
    "c": 0.1485,
    "h": 273
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#17126E
secondary
#9FA537
accent
#EF39E5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #17126E

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

Preview Lab → · Contrast checker → · Palette generator →

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