#17138F#17138F

#17138F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.188 H 269.8°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#17138F
RGBrgb(23, 19, 143)
HSLhsl(242, 77%, 32%)
HSVhsv(242, 87%, 56%)
CMYKcmyk(83.9%, 86.7%, 0%, 43.9%)
CIE-LABlab(18.50, 45.19, -64.91)
CIE-LCHlch(18.50, 79.09, 304.85°)
OKLaboklab(31.74% -0.0006 -0.1878)
OKLCHoklch(31.74% 0.188 269.8)
XYZxyz(5.5425, 2.6304, 26.1969)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17138F #8B8F13
analogous
#134D8F #17138F #55138F
triadic
#17138F #8F1713 #138F17
tetradic
#17138F #8F134D #8B8F13 #138F55
square
#17138F #8F134D #8B8F13 #138F55
split-complementary
#17138F #8F5513 #4D8F13
monochromatic
#060523 #0E0C59 #17138F #201AC5 #3D38E5

Accessibility & contrast

On white

13.76
#17138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#17138F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17138F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17138F#FFFFFF#000000##FFFFFF
##17138F1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00268D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17138f;
/* rgb */ color: rgb(23, 19, 143);
/* oklch */ color: oklch(31.7% 0.188 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e56b1',
    500: '#17138f',
    950: '#000000',
  },
}
SCSS
$custom: #17138f;
$custom-light: #6e56b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17138f",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 241.935,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31736,
    "c": 0.18785,
    "h": 269.8
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#17138F
secondary
#BFC33B
accent
#F335ED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #17138F

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

Preview Lab → · Contrast checker → · Palette generator →

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