#17305E#17305E

#17305E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.088 H 261.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#17305E
RGBrgb(23, 48, 94)
HSLhsl(219, 61%, 23%)
HSVhsv(219, 76%, 37%)
CMYKcmyk(75.5%, 48.9%, 0%, 63.1%)
CIE-LABlab(20.46, 8.10, -30.31)
CIE-LCHlch(20.46, 31.37, 284.95°)
OKLaboklab(31.69% -0.0131 -0.0868)
OKLCHoklch(31.69% 0.088 261.4)
XYZxyz(3.4300, 3.1039, 11.0058)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17305E #5E4517
analogous
#17535E #17305E #21175E
triadic
#17305E #5E1730 #305E17
tetradic
#17305E #5E1753 #5E4517 #175E21
square
#17305E #5E1753 #5E4517 #175E21
split-complementary
#17305E #5E2117 #535E17
monochromatic
#060D19 #0B172D #17305E #23498F #2F62C0

Accessibility & contrast

On white

12.96
#17305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17305E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17305E#FFFFFF#000000##FFFFFF
##17305E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193560
Deuteranopia (green-blind)
#0A2E5D
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17305e;
/* rgb */ color: rgb(23, 48, 94);
/* oklch */ color: oklch(31.7% 0.088 261.4);
Tailwind
colors: {
  custom: {
    50: '#5e678c',
    500: '#17305e',
    950: '#000000',
  },
}
SCSS
$custom: #17305e;
$custom-light: #5e678c;
$custom-dark: #000000;
JSON
{
  "hex": "#17305e",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 218.873,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31689,
    "c": 0.08779,
    "h": 261.4
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#17305E
secondary
#95763C
accent
#AC44E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #17305E

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

Preview Lab → · Contrast checker → · Palette generator →

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