#17286A#17286A

#17286A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.117 H 267.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#17286A
RGBrgb(23, 40, 106)
HSLhsl(228, 64%, 25%)
HSVhsv(228, 78%, 42%)
CMYKcmyk(78.3%, 62.3%, 0%, 58.4%)
CIE-LABlab(18.97, 18.91, -40.57)
CIE-LCHlch(18.97, 44.76, 295.00°)
OKLaboklab(30.87% -0.0045 -0.1171)
OKLCHoklch(30.87% 0.117 267.8)
XYZxyz(3.7128, 2.7400, 13.9661)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17286A #6A5917
analogous
#17516A #17286A #30176A
triadic
#17286A #6A1728 #286A17
tetradic
#17286A #6A1751 #6A5917 #176A30
square
#17286A #6A1751 #6A5917 #176A30
split-complementary
#17286A #6A3017 #516A17
monochromatic
#050919 #0C1538 #17286A #223B9C #2D4ECF

Accessibility & contrast

On white

13.57
#17286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17286A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17286A#FFFFFF#000000##FFFFFF
##17286A1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17286a;
/* rgb */ color: rgb(23, 40, 106);
/* oklch */ color: oklch(30.9% 0.117 267.8);
Tailwind
colors: {
  custom: {
    50: '#626195',
    500: '#17286a',
    950: '#000000',
  },
}
SCSS
$custom: #17286a;
$custom-light: #626195;
$custom-dark: #000000;
JSON
{
  "hex": "#17286a",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 227.711,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30866,
    "c": 0.1172,
    "h": 267.8
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#17286A
secondary
#A08C3D
accent
#C540E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #17286A

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

Preview Lab → · Contrast checker → · Palette generator →

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