#17305B#17305B

#17305B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.5% C 0.083 H 260.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#17305B
RGBrgb(23, 48, 91)
HSLhsl(218, 60%, 22%)
HSVhsv(218, 75%, 36%)
CMYKcmyk(74.7%, 47.3%, 0%, 64.3%)
CIE-LABlab(20.25, 6.84, -28.66)
CIE-LCHlch(20.25, 29.47, 283.43°)
OKLaboklab(31.46% -0.0137 -0.082)
OKLCHoklch(31.46% 0.083 260.5)
XYZxyz(3.2980, 3.0511, 10.3106)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17305B #5B4217
analogous
#17525B #17305B #20175B
triadic
#17305B #5B1730 #305B17
tetradic
#17305B #5B1752 #5B4217 #175B20
square
#17305B #5B1752 #5B4217 #175B20
split-complementary
#17305B #5B2017 #525B17
monochromatic
#060D18 #0B162A #17305B #234A8C #3064BD

Accessibility & contrast

On white

13.04
#17305B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#17305B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17305B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17305B#FFFFFF#000000##FFFFFF
##17305B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B345D
Deuteranopia (green-blind)
#0F2E5A
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17305b;
/* rgb */ color: rgb(23, 48, 91);
/* oklch */ color: oklch(31.5% 0.083 260.5);
Tailwind
colors: {
  custom: {
    50: '#5e678a',
    500: '#17305b',
    950: '#000000',
  },
}
SCSS
$custom: #17305b;
$custom-light: #5e678a;
$custom-dark: #000000;
JSON
{
  "hex": "#17305b",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 217.941,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31462,
    "c": 0.0831,
    "h": 260.5
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#17305B
secondary
#92723C
accent
#A945E3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #17305B

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

Preview Lab → · Contrast checker → · Palette generator →

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