#17318D#17318D

#17318D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.155 H 266.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#17318D
RGBrgb(23, 49, 141)
HSLhsl(227, 72%, 32%)
HSVhsv(227, 84%, 55%)
CMYKcmyk(83.7%, 65.2%, 0%, 44.7%)
CIE-LABlab(24.64, 26.71, -53.52)
CIE-LCHlch(24.64, 59.81, 296.52°)
OKLaboklab(36.06% -0.0105 -0.1549)
OKLCHoklch(36.06% 0.155 266.1)
XYZxyz(6.2577, 4.3011, 25.6945)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17318D #8D7317
analogous
#176C8D #17318D #38178D
triadic
#17318D #8D1731 #318D17
tetradic
#17318D #8D176C #8D7317 #178D38
square
#17318D #8D176C #8D7317 #178D38
split-complementary
#17318D #8D3817 #6C8D17
monochromatic
#060C24 #0E1F58 #17318D #2043C2 #3F62E0

Accessibility & contrast

On white

11.29
#17318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#17318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17318D
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17318D#FFFFFF#000000##FFFFFF
##17318D1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #17318d;
/* rgb */ color: rgb(23, 49, 141);
/* oklch */ color: oklch(36.1% 0.155 266.1);
Tailwind
colors: {
  custom: {
    50: '#6b68af',
    500: '#17318d',
    950: '#000000',
  },
}
SCSS
$custom: #17318d;
$custom-light: #6b68af;
$custom-dark: #000000;
JSON
{
  "hex": "#17318d",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 226.78,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36063,
    "c": 0.15531,
    "h": 266.1
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#17318D
secondary
#C0A440
accent
#C739EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #17318D

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

Preview Lab → · Contrast checker → · Palette generator →

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