#17284C#17284C

#17284C is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.070 H 263.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#17284C
RGBrgb(23, 40, 76)
HSLhsl(221, 54%, 19%)
HSVhsv(221, 70%, 30%)
CMYKcmyk(69.7%, 47.4%, 0%, 70.2%)
CIE-LABlab(16.61, 6.46, -24.42)
CIE-LCHlch(16.61, 25.26, 284.83°)
OKLaboklab(28.33% -0.0079 -0.0696)
OKLCHoklch(28.33% 0.07 263.5)
XYZxyz(2.4162, 2.2213, 7.1375)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17284C #4C3B17
analogous
#17434C #17284C #21174C
triadic
#17284C #4C1728 #284C17
tetradic
#17284C #4C1743 #4C3B17 #174C21
square
#17284C #4C1743 #4C3B17 #174C21
split-complementary
#17284C #4C2117 #434C17
monochromatic
#070C17 #090F1D #17284C #25417B #3359AA

Accessibility & contrast

On white

14.54
#17284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#17284C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17284C
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17284C#FFFFFF#000000##FFFFFF
##17284C1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C4D
Deuteranopia (green-blind)
#0F274B
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17284c;
/* rgb */ color: rgb(23, 40, 76);
/* oklch */ color: oklch(28.3% 0.070 263.5);
Tailwind
colors: {
  custom: {
    50: '#5a617e',
    500: '#17284c',
    950: '#000000',
  },
}
SCSS
$custom: #17284c;
$custom-light: #5a617e;
$custom-dark: #000000;
JSON
{
  "hex": "#17284c",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 220.755,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28326,
    "c": 0.07008,
    "h": 263.5
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#17284C
secondary
#836C3C
accent
#AE4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #17284C

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

Preview Lab → · Contrast checker → · Palette generator →

#17284C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva