#17126F#17126F

#17126F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.150 H 272.9°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#17126F
RGBrgb(23, 18, 111)
HSLhsl(243, 72%, 25%)
HSVhsv(243, 84%, 44%)
CMYKcmyk(79.3%, 83.8%, 0%, 56.5%)
CIE-LABlab(14.19, 35.25, -51.69)
CIE-LCHlch(14.19, 62.57, 304.29°)
OKLaboklab(27.57% 0.0076 -0.1496)
OKLCHoklch(27.57% 0.15 272.9)
XYZxyz(3.4379, 1.7621, 15.1948)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17126F #6A6F12
analogous
#123B6F #17126F #45126F
triadic
#17126F #6F1712 #126F17
tetradic
#17126F #6F123B #6A6F12 #126F45
square
#17126F #6F123B #6A6F12 #126F45
split-complementary
#17126F #6F4512 #3B6F12
monochromatic
#05041A #0C093A #17126F #221BA4 #2D23D8

Accessibility & contrast

On white

15.53
#17126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17126F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17126F#FFFFFF#000000##FFFFFF
##17126F1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#001F6D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17126f;
/* rgb */ color: rgb(23, 18, 111);
/* oklch */ color: oklch(27.6% 0.150 272.9);
Tailwind
colors: {
  custom: {
    50: '#665299',
    500: '#17126f',
    950: '#000000',
  },
}
SCSS
$custom: #17126f;
$custom-light: #665299;
$custom-dark: #000000;
JSON
{
  "hex": "#17126f",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 243.226,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27565,
    "c": 0.14976,
    "h": 272.9
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17126F

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

Preview Lab → · Contrast checker → · Palette generator →

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