#17305D#17305D

#17305D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.086 H 261.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#17305D
RGBrgb(23, 48, 93)
HSLhsl(219, 60%, 23%)
HSVhsv(219, 75%, 36%)
CMYKcmyk(75.3%, 48.4%, 0%, 63.5%)
CIE-LABlab(20.39, 7.68, -29.76)
CIE-LCHlch(20.39, 30.74, 284.47°)
OKLaboklab(31.61% -0.0133 -0.0852)
OKLCHoklch(31.61% 0.086 261.1)
XYZxyz(3.3854, 3.0860, 10.7711)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17305D #5D4417
analogous
#17535D #17305D #21175D
triadic
#17305D #5D1730 #305D17
tetradic
#17305D #5D1753 #5D4417 #175D21
square
#17305D #5D1753 #5D4417 #175D21
split-complementary
#17305D #5D2117 #535D17
monochromatic
#060D19 #0B172C #17305D #23498E #2F63BF

Accessibility & contrast

On white

12.99
#17305D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#17305D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17305D
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17305D#FFFFFF#000000##FFFFFF
##17305D1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19355F
Deuteranopia (green-blind)
#0C2E5C
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17305d;
/* rgb */ color: rgb(23, 48, 93);
/* oklch */ color: oklch(31.6% 0.086 261.1);
Tailwind
colors: {
  custom: {
    50: '#5e678b',
    500: '#17305d',
    950: '#000000',
  },
}
SCSS
$custom: #17305d;
$custom-light: #5e678b;
$custom-dark: #000000;
JSON
{
  "hex": "#17305d",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 218.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31613,
    "c": 0.08623,
    "h": 261.1
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#17305D
secondary
#94743C
accent
#AB44E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #17305D

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

Preview Lab → · Contrast checker → · Palette generator →

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