#17146B#17146B

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

Color values

HEX#17146B
RGBrgb(23, 20, 107)
HSLhsl(242, 69%, 25%)
HSVhsv(242, 81%, 42%)
CMYKcmyk(78.5%, 81.3%, 0%, 58%)
CIE-LABlab(14.08, 32.74, -49.26)
CIE-LCHlch(14.08, 59.14, 303.61°)
OKLaboklab(27.35% 0.0077 -0.1425)
OKLCHoklch(27.35% 0.143 273.1)
XYZxyz(3.2565, 1.7437, 14.0720)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17146B #686B14
analogous
#143D6B #17146B #43146B
triadic
#17146B #6B1714 #146B17
tetradic
#17146B #6B143D #686B14 #146B43
square
#17146B #6B143D #686B14 #146B43
split-complementary
#17146B #6B4314 #3D6B14
monochromatic
#06051A #0C0A37 #17146B #221E9F #2D27D2

Accessibility & contrast

On white

15.57
#17146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#17146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17146B
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17146B#FFFFFF#000000##FFFFFF
##17146B1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17146b;
/* rgb */ color: rgb(23, 20, 107);
/* oklch */ color: oklch(27.3% 0.143 273.1);
Tailwind
colors: {
  custom: {
    50: '#645396',
    500: '#17146b',
    950: '#000000',
  },
}
SCSS
$custom: #17146b;
$custom-light: #645396;
$custom-dark: #000000;
JSON
{
  "hex": "#17146b",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 242.069,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27347,
    "c": 0.14274,
    "h": 273.1
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#17146B
secondary
#9EA239
accent
#EB3CE5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #17146B

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

Preview Lab → · Contrast checker → · Palette generator →

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