#17305C#17305C

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

Color values

HEX#17305C
RGBrgb(23, 48, 92)
HSLhsl(218, 60%, 23%)
HSVhsv(218, 75%, 36%)
CMYKcmyk(75%, 47.8%, 0%, 63.9%)
CIE-LABlab(20.32, 7.26, -29.22)
CIE-LCHlch(20.32, 30.10, 283.96°)
OKLaboklab(31.54% -0.0135 -0.0836)
OKLCHoklch(31.54% 0.085 260.8)
XYZxyz(3.3414, 3.0684, 10.5393)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17305C #5C4317
analogous
#17525C #17305C #21175C
triadic
#17305C #5C1730 #305C17
tetradic
#17305C #5C1752 #5C4317 #175C21
square
#17305C #5C1752 #5C4317 #175C21
split-complementary
#17305C #5C2117 #525C17
monochromatic
#060D18 #0B162B #17305C #234A8D #2F63BE

Accessibility & contrast

On white

13.01
#17305C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17305C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17305C#FFFFFF#000000##FFFFFF
##17305C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17305c;
/* rgb */ color: rgb(23, 48, 92);
/* oklch */ color: oklch(31.5% 0.085 260.8);
Tailwind
colors: {
  custom: {
    50: '#5e678a',
    500: '#17305c',
    950: '#000000',
  },
}
SCSS
$custom: #17305c;
$custom-light: #5e678a;
$custom-dark: #000000;
JSON
{
  "hex": "#17305c",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 218.261,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31537,
    "c": 0.08467,
    "h": 260.8
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#17305C
secondary
#93733C
accent
#AA45E3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #17305C

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

Preview Lab → · Contrast checker → · Palette generator →

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