#17286E#17286E

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

Color values

HEX#17286E
RGBrgb(23, 40, 110)
HSLhsl(228, 65%, 26%)
HSVhsv(228, 79%, 43%)
CMYKcmyk(79.1%, 63.6%, 0%, 56.9%)
CIE-LABlab(19.33, 20.55, -42.58)
CIE-LCHlch(19.33, 47.28, 295.76°)
OKLaboklab(31.24% -0.0045 -0.123)
OKLCHoklch(31.24% 0.123 267.9)
XYZxyz(3.9256, 2.8251, 15.0872)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17286E #6E5D17
analogous
#17536E #17286E #31176E
triadic
#17286E #6E1728 #286E17
tetradic
#17286E #6E1753 #6E5D17 #176E31
square
#17286E #6E1753 #6E5D17 #176E31
split-complementary
#17286E #6E3117 #536E17
monochromatic
#050919 #0C163B #17286E #223AA1 #2C4DD3

Accessibility & contrast

On white

13.42
#17286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#17286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17286E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17286E#FFFFFF#000000##FFFFFF
##17286E1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17286e;
/* rgb */ color: rgb(23, 40, 110);
/* oklch */ color: oklch(31.2% 0.123 267.9);
Tailwind
colors: {
  custom: {
    50: '#636198',
    500: '#17286e',
    950: '#000000',
  },
}
SCSS
$custom: #17286e;
$custom-light: #636198;
$custom-dark: #000000;
JSON
{
  "hex": "#17286e",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 228.276,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.1231,
    "h": 267.9
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#17286E
secondary
#A4903D
accent
#C73FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #17286E

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

Preview Lab → · Contrast checker → · Palette generator →

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