#17285E#17285E

#17285E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.099 H 267.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#17285E
RGBrgb(23, 40, 94)
HSLhsl(226, 61%, 23%)
HSVhsv(226, 76%, 37%)
CMYKcmyk(75.5%, 57.4%, 0%, 63.1%)
CIE-LABlab(17.95, 13.95, -34.34)
CIE-LCHlch(17.95, 37.07, 292.10°)
OKLaboklab(29.78% -0.0052 -0.0988)
OKLCHoklch(29.78% 0.099 267)
XYZxyz(3.1318, 2.5076, 10.9065)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17285E #5E4D17
analogous
#174B5E #17285E #29175E
triadic
#17285E #5E1728 #285E17
tetradic
#17285E #5E174B #5E4D17 #175E29
square
#17285E #5E174B #5E4D17 #175E29
split-complementary
#17285E #5E2917 #4B5E17
monochromatic
#060A19 #0B132D #17285E #233D8F #2F52C0

Accessibility & contrast

On white

13.99
#17285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#17285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17285E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17285E#FFFFFF#000000##FFFFFF
##17285E1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17285e;
/* rgb */ color: rgb(23, 40, 94);
/* oklch */ color: oklch(29.8% 0.099 267.0);
Tailwind
colors: {
  custom: {
    50: '#5f618c',
    500: '#17285e',
    950: '#000000',
  },
}
SCSS
$custom: #17285e;
$custom-light: #5f618c;
$custom-dark: #000000;
JSON
{
  "hex": "#17285e",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 225.634,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29781,
    "c": 0.09895,
    "h": 267
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#17285E
secondary
#95803C
accent
#BE44E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #17285E

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

Preview Lab → · Contrast checker → · Palette generator →

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