#17305A#17305A

#17305A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.082 H 260.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#17305A
RGBrgb(23, 48, 90)
HSLhsl(218, 59%, 22%)
HSVhsv(218, 74%, 35%)
CMYKcmyk(74.4%, 46.7%, 0%, 64.7%)
CIE-LABlab(20.18, 6.43, -28.11)
CIE-LCHlch(20.18, 28.84, 282.88°)
OKLaboklab(31.39% -0.014 -0.0803)
OKLCHoklch(31.39% 0.082 260.1)
XYZxyz(3.2551, 3.0339, 10.0849)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17305A #5A4117
analogous
#17525A #17305A #20175A
triadic
#17305A #5A1730 #305A17
tetradic
#17305A #5A1752 #5A4117 #175A20
square
#17305A #5A1752 #5A4117 #175A20
split-complementary
#17305A #5A2017 #525A17
monochromatic
#060D18 #0B1629 #17305A #234A8B #3064BB

Accessibility & contrast

On white

13.07
#17305A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17305A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17305A#FFFFFF#000000##FFFFFF
##17305A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C345C
Deuteranopia (green-blind)
#102E59
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17305a;
/* rgb */ color: rgb(23, 48, 90);
/* oklch */ color: oklch(31.4% 0.082 260.1);
Tailwind
colors: {
  custom: {
    50: '#5d6789',
    500: '#17305a',
    950: '#000000',
  },
}
SCSS
$custom: #17305a;
$custom-light: #5d6789;
$custom-dark: #000000;
JSON
{
  "hex": "#17305a",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 217.612,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.08153,
    "h": 260.1
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#17305A
secondary
#91713C
accent
#A845E2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #17305A

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

Preview Lab → · Contrast checker → · Palette generator →

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