#17284D#17284D

#17284D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.072 H 263.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#17284D
RGBrgb(23, 40, 77)
HSLhsl(221, 54%, 20%)
HSVhsv(221, 70%, 30%)
CMYKcmyk(70.1%, 48.1%, 0%, 69.8%)
CIE-LABlab(16.68, 6.88, -24.99)
CIE-LCHlch(16.68, 25.92, 285.38°)
OKLaboklab(28.4% -0.0077 -0.0713)
OKLCHoklch(28.4% 0.072 263.9)
XYZxyz(2.4512, 2.2353, 7.3220)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17284D #4D3C17
analogous
#17434D #17284D #21174D
triadic
#17284D #4D1728 #284D17
tetradic
#17284D #4D1743 #4D3C17 #174D21
square
#17284D #4D1743 #4D3C17 #174D21
split-complementary
#17284D #4D2117 #434D17
monochromatic
#070C18 #09101E #17284D #25407C #3359AB

Accessibility & contrast

On white

14.51
#17284D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#17284D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17284D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17284D#FFFFFF#000000##FFFFFF
##17284D1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17284d;
/* rgb */ color: rgb(23, 40, 77);
/* oklch */ color: oklch(28.4% 0.072 263.9);
Tailwind
colors: {
  custom: {
    50: '#5b617f',
    500: '#17284d',
    950: '#000000',
  },
}
SCSS
$custom: #17284d;
$custom-light: #5b617f;
$custom-dark: #000000;
JSON
{
  "hex": "#17284d",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 221.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.284,
    "c": 0.07171,
    "h": 263.9
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#17284D
secondary
#846D3C
accent
#AF4ADD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #17284D

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

Preview Lab → · Contrast checker → · Palette generator →

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