#17307E#17307E

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

Color values

HEX#17307E
RGBrgb(23, 48, 126)
HSLhsl(225, 69%, 29%)
HSVhsv(225, 82%, 49%)
CMYKcmyk(81.7%, 61.9%, 0%, 50.6%)
CIE-LABlab(23.01, 21.38, -46.81)
CIE-LCHlch(23.01, 51.46, 294.55°)
OKLaboklab(34.43% -0.0099 -0.1353)
OKLCHoklch(34.43% 0.136 265.8)
XYZxyz(5.1749, 3.8018, 20.1957)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17307E #7E6517
analogous
#17647E #17307E #32177E
triadic
#17307E #7E1730 #307E17
tetradic
#17307E #7E1764 #7E6517 #177E32
square
#17307E #7E1764 #7E6517 #177E32
split-complementary
#17307E #7E3217 #647E17
monochromatic
#050A1A #0E1C4A #17307E #2044B2 #355DDA

Accessibility & contrast

On white

11.93
#17307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17307E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17307E#FFFFFF#000000##FFFFFF
##17307E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17307e;
/* rgb */ color: rgb(23, 48, 126);
/* oklch */ color: oklch(34.4% 0.136 265.8);
Tailwind
colors: {
  custom: {
    50: '#6767a4',
    500: '#17307e',
    950: '#000000',
  },
}
SCSS
$custom: #17307e;
$custom-light: #6767a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17307e",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 225.437,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34426,
    "c": 0.13566,
    "h": 265.8
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17307E

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

Preview Lab → · Contrast checker → · Palette generator →

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