#17127D#17127D

#17127D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.167 H 271.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#17127D
RGBrgb(23, 18, 125)
HSLhsl(243, 75%, 28%)
HSVhsv(243, 86%, 49%)
CMYKcmyk(81.6%, 85.6%, 0%, 51%)
CIE-LABlab(15.98, 39.91, -57.75)
CIE-LCHlch(15.98, 70.20, 304.65°)
OKLaboklab(29.33% 0.004 -0.1671)
OKLCHoklch(29.33% 0.167 271.4)
XYZxyz(4.2701, 2.0950, 19.5774)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17127D #787D12
analogous
#12427D #17127D #4C127D
triadic
#17127D #7D1712 #127D17
tetradic
#17127D #7D1242 #787D12 #127D4C
square
#17127D #7D1242 #787D12 #127D4C
split-complementary
#17127D #7D4C12 #427D12
monochromatic
#05041B #0D0A48 #17127D #211AB2 #3229E0

Accessibility & contrast

On white

14.80
#17127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#17127D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17127D
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17127D#FFFFFF#000000##FFFFFF
##17127D1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00227B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17127d;
/* rgb */ color: rgb(23, 18, 125);
/* oklch */ color: oklch(29.3% 0.167 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a54a4',
    500: '#17127d',
    950: '#000000',
  },
}
SCSS
$custom: #17127d;
$custom-light: #6a54a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17127d",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 242.804,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29325,
    "c": 0.16716,
    "h": 271.4
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#17127D
secondary
#ADB338
accent
#F136E9
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17127D

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

Preview Lab → · Contrast checker → · Palette generator →

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