#17307C#17307C

#17307C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.133 H 265.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#17307C
RGBrgb(23, 48, 124)
HSLhsl(225, 69%, 29%)
HSVhsv(225, 81%, 49%)
CMYKcmyk(81.5%, 61.3%, 0%, 51.4%)
CIE-LABlab(22.83, 20.57, -45.83)
CIE-LCHlch(22.83, 50.23, 294.17°)
OKLaboklab(34.24% -0.01 -0.1324)
OKLCHoklch(34.24% 0.133 265.7)
XYZxyz(5.0471, 3.7507, 19.5228)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17307C #7C6317
analogous
#17637C #17307C #31177C
triadic
#17307C #7C1730 #307C17
tetradic
#17307C #7C1763 #7C6317 #177C31
square
#17307C #7C1763 #7C6317 #177C31
split-complementary
#17307C #7C3117 #637C17
monochromatic
#050A1A #0D1C48 #17307C #2144B0 #345DD9

Accessibility & contrast

On white

12.00
#17307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#17307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17307C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17307C#FFFFFF#000000##FFFFFF
##17307C1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #17307c;
/* rgb */ color: rgb(23, 48, 124);
/* oklch */ color: oklch(34.2% 0.133 265.7);
Tailwind
colors: {
  custom: {
    50: '#6667a3',
    500: '#17307c',
    950: '#000000',
  },
}
SCSS
$custom: #17307c;
$custom-light: #6667a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17307c",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 225.149,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3424,
    "c": 0.1328,
    "h": 265.7
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#17307C
secondary
#B1943E
accent
#C03CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17307C

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

Preview Lab → · Contrast checker → · Palette generator →

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