#17147B#17147B

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

Color values

HEX#17147B
RGBrgb(23, 20, 123)
HSLhsl(242, 72%, 28%)
HSVhsv(242, 84%, 48%)
CMYKcmyk(81.3%, 83.7%, 0%, 51.8%)
CIE-LABlab(16.06, 38.24, -56.33)
CIE-LCHlch(16.06, 68.08, 304.17°)
OKLaboklab(29.31% 0.0039 -0.163)
OKLCHoklch(29.31% 0.163 271.4)
XYZxyz(4.1775, 2.1121, 18.9226)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17147B #787B14
analogous
#14447B #17147B #4B147B
triadic
#17147B #7B1714 #147B17
tetradic
#17147B #7B1444 #787B14 #147B4B
square
#17147B #7B1444 #787B14 #147B4B
split-complementary
#17147B #7B4B14 #447B14
monochromatic
#05041A #0D0B46 #17147B #211DB0 #322DDD

Accessibility & contrast

On white

14.76
#17147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#17147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17147B
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17147B#FFFFFF#000000##FFFFFF
##17147B1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17147b;
/* rgb */ color: rgb(23, 20, 123);
/* oklch */ color: oklch(29.3% 0.163 271.4);
Tailwind
colors: {
  custom: {
    50: '#6954a2',
    500: '#17147b',
    950: '#000000',
  },
}
SCSS
$custom: #17147b;
$custom-light: #6954a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17147b",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 241.748,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29312,
    "c": 0.16308,
    "h": 271.4
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#17147B
secondary
#ADB13A
accent
#EF39E9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17147B

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

Preview Lab → · Contrast checker → · Palette generator →

#17147B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva