#17286F#17286F

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

Color values

HEX#17286F
RGBrgb(23, 40, 111)
HSLhsl(228, 66%, 26%)
HSVhsv(228, 79%, 44%)
CMYKcmyk(79.3%, 64%, 0%, 56.5%)
CIE-LABlab(19.42, 20.96, -43.08)
CIE-LCHlch(19.42, 47.91, 295.94°)
OKLaboklab(31.34% -0.0045 -0.1245)
OKLCHoklch(31.34% 0.125 267.9)
XYZxyz(3.9804, 2.8470, 15.3756)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17286F #6F5E17
analogous
#17546F #17286F #32176F
triadic
#17286F #6F1728 #286F17
tetradic
#17286F #6F1754 #6F5E17 #176F32
square
#17286F #6F1754 #6F5E17 #176F32
split-complementary
#17286F #6F3217 #546F17
monochromatic
#050919 #0C163C #17286F #223AA2 #2D4DD3

Accessibility & contrast

On white

13.38
#17286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17286F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17286F#FFFFFF#000000##FFFFFF
##17286F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17286f;
/* rgb */ color: rgb(23, 40, 111);
/* oklch */ color: oklch(31.3% 0.125 267.9);
Tailwind
colors: {
  custom: {
    50: '#636199',
    500: '#17286f',
    950: '#000000',
  },
}
SCSS
$custom: #17286f;
$custom-light: #636199;
$custom-dark: #000000;
JSON
{
  "hex": "#17286f",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 228.409,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3134,
    "c": 0.12456,
    "h": 267.9
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#17286F
secondary
#A5913D
accent
#C83FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #17286F

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

Preview Lab → · Contrast checker → · Palette generator →

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