#17318F#17318F

#17318F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.158 H 266.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#17318F
RGBrgb(23, 49, 143)
HSLhsl(227, 72%, 33%)
HSVhsv(227, 84%, 56%)
CMYKcmyk(83.9%, 65.7%, 0%, 43.9%)
CIE-LABlab(24.83, 27.50, -54.45)
CIE-LCHlch(24.83, 61.00, 296.80°)
OKLaboklab(36.26% -0.0105 -0.1577)
OKLCHoklch(36.26% 0.158 266.2)
XYZxyz(6.4078, 4.3612, 26.4853)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17318F #8F7517
analogous
#176D8F #17318F #39178F
triadic
#17318F #8F1731 #318F17
tetradic
#17318F #8F176D #8F7517 #178F39
square
#17318F #8F176D #8F7517 #178F39
split-complementary
#17318F #8F3917 #6D8F17
monochromatic
#060D26 #0F1F5A #17318F #1F43C4 #4063E0

Accessibility & contrast

On white

11.22
#17318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17318F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17318F#FFFFFF#000000##FFFFFF
##17318F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17318f;
/* rgb */ color: rgb(23, 49, 143);
/* oklch */ color: oklch(36.3% 0.158 266.2);
Tailwind
colors: {
  custom: {
    50: '#6b68b1',
    500: '#17318f',
    950: '#000000',
  },
}
SCSS
$custom: #17318f;
$custom-light: #6b68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17318f",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 227,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3626,
    "c": 0.15802,
    "h": 266.2
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#17318F
secondary
#C1A541
accent
#C839EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #17318F

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

Preview Lab → · Contrast checker → · Palette generator →

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