#17307A#17307A

#17307A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.130 H 265.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#17307A
RGBrgb(23, 48, 122)
HSLhsl(225, 68%, 28%)
HSVhsv(225, 81%, 48%)
CMYKcmyk(81.1%, 60.7%, 0%, 52.2%)
CIE-LABlab(22.66, 19.75, -44.85)
CIE-LCHlch(22.66, 49.00, 293.76°)
OKLaboklab(34.06% -0.01 -0.1295)
OKLCHoklch(34.06% 0.13 265.6)
XYZxyz(4.9219, 3.7006, 18.8635)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17307A #7A6117
analogous
#17617A #17307A #2F177A
triadic
#17307A #7A1730 #307A17
tetradic
#17307A #7A1761 #7A6117 #177A2F
square
#17307A #7A1761 #7A6117 #177A2F
split-complementary
#17307A #7A2F17 #617A17
monochromatic
#050A1A #0D1C47 #17307A #2144AD #335DD9

Accessibility & contrast

On white

12.07
#17307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#17307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17307A
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17307A#FFFFFF#000000##FFFFFF
##17307A1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #17307a;
/* rgb */ color: rgb(23, 48, 122);
/* oklch */ color: oklch(34.1% 0.130 265.6);
Tailwind
colors: {
  custom: {
    50: '#6667a1',
    500: '#17307a',
    950: '#000000',
  },
}
SCSS
$custom: #17307a;
$custom-light: #6667a1;
$custom-dark: #000000;
JSON
{
  "hex": "#17307a",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 224.848,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34056,
    "c": 0.12993,
    "h": 265.6
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#17307A
secondary
#AF923E
accent
#BF3DEB
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17307A

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

Preview Lab → · Contrast checker → · Palette generator →

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