#17306C#17306C

#17306C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.109 H 264.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#17306C
RGBrgb(23, 48, 108)
HSLhsl(222, 65%, 26%)
HSVhsv(222, 79%, 42%)
CMYKcmyk(78.7%, 55.6%, 0%, 57.6%)
CIE-LABlab(21.50, 13.95, -37.76)
CIE-LCHlch(21.50, 40.25, 290.28°)
OKLaboklab(32.82% -0.0111 -0.1087)
OKLCHoklch(32.82% 0.109 264.2)
XYZxyz(4.1161, 3.3783, 14.6196)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17306C #6C5317
analogous
#175A6C #17306C #28176C
triadic
#17306C #6C1730 #306C17
tetradic
#17306C #6C175A #6C5317 #176C28
square
#17306C #6C175A #6C5317 #176C28
split-complementary
#17306C #6C2817 #5A6C17
monochromatic
#050B19 #0C1A3A #17306C #22469E #2C5DD1

Accessibility & contrast

On white

12.53
#17306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#17306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17306C
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17306C#FFFFFF#000000##FFFFFF
##17306C1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #17306c;
/* rgb */ color: rgb(23, 48, 108);
/* oklch */ color: oklch(32.8% 0.109 264.2);
Tailwind
colors: {
  custom: {
    50: '#626797',
    500: '#17306c',
    950: '#000000',
  },
}
SCSS
$custom: #17306c;
$custom-light: #626797;
$custom-dark: #000000;
JSON
{
  "hex": "#17306c",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 222.353,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32821,
    "c": 0.10927,
    "h": 264.2
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#17306C
secondary
#A2843D
accent
#B640E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #17306C

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

Preview Lab → · Contrast checker → · Palette generator →

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