#17318E#17318E

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

Color values

HEX#17318E
RGBrgb(23, 49, 142)
HSLhsl(227, 72%, 32%)
HSVhsv(227, 84%, 56%)
CMYKcmyk(83.8%, 65.5%, 0%, 44.3%)
CIE-LABlab(24.74, 27.11, -53.98)
CIE-LCHlch(24.74, 60.41, 296.66°)
OKLaboklab(36.16% -0.0105 -0.1563)
OKLCHoklch(36.16% 0.157 266.1)
XYZxyz(6.3324, 4.3310, 26.0882)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17318E #8E7417
analogous
#176C8E #17318E #39178E
triadic
#17318E #8E1731 #318E17
tetradic
#17318E #8E176C #8E7417 #178E39
square
#17318E #8E176C #8E7417 #178E39
split-complementary
#17318E #8E3917 #6C8E17
monochromatic
#060D25 #0E1F59 #17318E #2043C3 #3F63E0

Accessibility & contrast

On white

11.25
#17318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#17318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17318E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17318E#FFFFFF#000000##FFFFFF
##17318E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #17318e;
/* rgb */ color: rgb(23, 49, 142);
/* oklch */ color: oklch(36.2% 0.157 266.1);
Tailwind
colors: {
  custom: {
    50: '#6b68b0',
    500: '#17318e',
    950: '#000000',
  },
}
SCSS
$custom: #17318e;
$custom-light: #6b68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17318e",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 226.891,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36161,
    "c": 0.15666,
    "h": 266.1
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#17318E
secondary
#C0A440
accent
#C739EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #17318E

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

Preview Lab → · Contrast checker → · Palette generator →

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