#17307D#17307D

#17307D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.134 H 265.8°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#17307D
RGBrgb(23, 48, 125)
HSLhsl(225, 69%, 29%)
HSVhsv(225, 82%, 49%)
CMYKcmyk(81.6%, 61.6%, 0%, 51%)
CIE-LABlab(22.92, 20.97, -46.32)
CIE-LCHlch(22.92, 50.85, 294.36°)
OKLaboklab(34.33% -0.0099 -0.1339)
OKLCHoklch(34.33% 0.134 265.8)
XYZxyz(5.1107, 3.7761, 19.8576)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17307D #7D6417
analogous
#17637D #17307D #31177D
triadic
#17307D #7D1730 #307D17
tetradic
#17307D #7D1763 #7D6417 #177D31
square
#17307D #7D1763 #7D6417 #177D31
split-complementary
#17307D #7D3117 #637D17
monochromatic
#050A1A #0D1C49 #17307D #2144B1 #355DDA

Accessibility & contrast

On white

11.96
#17307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#17307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17307D
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17307D#FFFFFF#000000##FFFFFF
##17307D1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #17307d;
/* rgb */ color: rgb(23, 48, 125);
/* oklch */ color: oklch(34.3% 0.134 265.8);
Tailwind
colors: {
  custom: {
    50: '#6667a3',
    500: '#17307d',
    950: '#000000',
  },
}
SCSS
$custom: #17307d;
$custom-light: #6667a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17307d",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 225.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34333,
    "c": 0.13424,
    "h": 265.8
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#17307D
secondary
#B2953E
accent
#C13CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17307D

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

Preview Lab → · Contrast checker → · Palette generator →

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