#17308E#17308E

#17308E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.158 H 266.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#17308E
RGBrgb(23, 48, 142)
HSLhsl(227, 72%, 32%)
HSVhsv(227, 84%, 56%)
CMYKcmyk(83.8%, 66.2%, 0%, 44.3%)
CIE-LABlab(24.48, 27.79, -54.41)
CIE-LCHlch(24.48, 61.10, 297.05°)
OKLaboklab(35.97% -0.01 -0.1576)
OKLCHoklch(35.97% 0.158 266.4)
XYZxyz(6.2911, 4.2483, 26.0744)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17308E #8E7517
analogous
#176C8E #17308E #3A178E
triadic
#17308E #8E1730 #308E17
tetradic
#17308E #8E176C #8E7517 #178E3A
square
#17308E #8E176C #8E7517 #178E3A
split-complementary
#17308E #8E3A17 #6C8E17
monochromatic
#060C25 #0E1E59 #17308E #2042C3 #3F61E0

Accessibility & contrast

On white

11.35
#17308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#17308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17308E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17308E#FFFFFF#000000##FFFFFF
##17308E1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17308e;
/* rgb */ color: rgb(23, 48, 142);
/* oklch */ color: oklch(36.0% 0.158 266.4);
Tailwind
colors: {
  custom: {
    50: '#6b68b0',
    500: '#17308e',
    950: '#000000',
  },
}
SCSS
$custom: #17308e;
$custom-light: #6b68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17308e",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 227.395,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.15789,
    "h": 266.4
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#17308E
secondary
#C0A540
accent
#C939EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #17308E

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

Preview Lab → · Contrast checker → · Palette generator →

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