#17286D#17286D

#17286D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.122 H 267.9°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#17286D
RGBrgb(23, 40, 109)
HSLhsl(228, 65%, 26%)
HSVhsv(228, 79%, 43%)
CMYKcmyk(78.9%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.24, 20.14, -42.08)
CIE-LCHlch(19.24, 46.65, 295.58°)
OKLaboklab(31.15% -0.0045 -0.1215)
OKLCHoklch(31.15% 0.122 267.9)
XYZxyz(3.8715, 2.8034, 14.8021)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17286D #6D5C17
analogous
#17536D #17286D #31176D
triadic
#17286D #6D1728 #286D17
tetradic
#17286D #6D1753 #6D5C17 #176D31
square
#17286D #6D1753 #6D5C17 #176D31
split-complementary
#17286D #6D3117 #536D17
monochromatic
#050919 #0C153A #17286D #223BA0 #2C4DD2

Accessibility & contrast

On white

13.45
#17286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#17286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17286D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17286D#FFFFFF#000000##FFFFFF
##17286D1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17286d;
/* rgb */ color: rgb(23, 40, 109);
/* oklch */ color: oklch(31.1% 0.122 267.9);
Tailwind
colors: {
  custom: {
    50: '#636197',
    500: '#17286d',
    950: '#000000',
  },
}
SCSS
$custom: #17286d;
$custom-light: #636197;
$custom-dark: #000000;
JSON
{
  "hex": "#17286d",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 228.14,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31149,
    "c": 0.12163,
    "h": 267.9
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#17286D
secondary
#A38F3D
accent
#C740E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #17286D

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

Preview Lab → · Contrast checker → · Palette generator →

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