#17126D#17126D

#17126D is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.147 H 273.1°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#17126D
RGBrgb(23, 18, 109)
HSLhsl(243, 72%, 25%)
HSVhsv(243, 83%, 43%)
CMYKcmyk(78.9%, 83.5%, 0%, 57.3%)
CIE-LABlab(13.93, 34.56, -50.81)
CIE-LCHlch(13.93, 61.45, 304.23°)
OKLaboklab(27.32% 0.0081 -0.147)
OKLCHoklch(27.32% 0.147 273.1)
XYZxyz(3.3291, 1.7185, 14.6213)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17126D #686D12
analogous
#123A6D #17126D #45126D
triadic
#17126D #6D1712 #126D17
tetradic
#17126D #6D123A #686D12 #126D45
square
#17126D #6D123A #686D12 #126D45
split-complementary
#17126D #6D4512 #3A6D12
monochromatic
#06041A #0C0938 #17126D #221BA2 #2D23D6

Accessibility & contrast

On white

15.63
#17126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17126D
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17126D#FFFFFF#000000##FFFFFF
##17126D1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#001F6B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #17126d;
/* rgb */ color: rgb(23, 18, 109);
/* oklch */ color: oklch(27.3% 0.147 273.1);
Tailwind
colors: {
  custom: {
    50: '#655298',
    500: '#17126d',
    950: '#000000',
  },
}
SCSS
$custom: #17126d;
$custom-light: #655298;
$custom-dark: #000000;
JSON
{
  "hex": "#17126d",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 243.297,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27318,
    "c": 0.14721,
    "h": 273.1
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#17126D
secondary
#9EA437
accent
#EE39E4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #17126D

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

Preview Lab → · Contrast checker → · Palette generator →

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