#17286B#17286B

#17286B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.119 H 267.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#17286B
RGBrgb(23, 40, 107)
HSLhsl(228, 65%, 25%)
HSVhsv(228, 79%, 42%)
CMYKcmyk(78.5%, 62.6%, 0%, 58%)
CIE-LABlab(19.06, 19.32, -41.07)
CIE-LCHlch(19.06, 45.39, 295.20°)
OKLaboklab(30.96% -0.0045 -0.1186)
OKLCHoklch(30.96% 0.119 267.8)
XYZxyz(3.7651, 2.7609, 14.2415)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17286B #6B5A17
analogous
#17526B #17286B #30176B
triadic
#17286B #6B1728 #286B17
tetradic
#17286B #6B1752 #6B5A17 #176B30
square
#17286B #6B1752 #6B5A17 #176B30
split-complementary
#17286B #6B3017 #526B17
monochromatic
#050919 #0C1539 #17286B #223B9D #2D4ED0

Accessibility & contrast

On white

13.53
#17286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#17286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17286B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17286B#FFFFFF#000000##FFFFFF
##17286B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17286b;
/* rgb */ color: rgb(23, 40, 107);
/* oklch */ color: oklch(31.0% 0.119 267.8);
Tailwind
colors: {
  custom: {
    50: '#626196',
    500: '#17286b',
    950: '#000000',
  },
}
SCSS
$custom: #17286b;
$custom-light: #626196;
$custom-dark: #000000;
JSON
{
  "hex": "#17286b",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 227.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30959,
    "c": 0.11869,
    "h": 267.8
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#17286B
secondary
#A18D3D
accent
#C640E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #17286B

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

Preview Lab → · Contrast checker → · Palette generator →

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