#17294F#17294F

#17294F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.074 H 263.4°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#17294F
RGBrgb(23, 41, 79)
HSLhsl(221, 55%, 20%)
HSVhsv(221, 71%, 31%)
CMYKcmyk(70.9%, 48.1%, 0%, 69%)
CIE-LABlab(17.14, 6.97, -25.60)
CIE-LCHlch(17.14, 26.53, 285.22°)
OKLaboklab(28.8% -0.0084 -0.0731)
OKLCHoklch(28.8% 0.074 263.4)
XYZxyz(2.5571, 2.3323, 7.7110)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17294F #4F3D17
analogous
#17454F #17294F #21174F
triadic
#17294F #4F1729 #294F17
tetradic
#17294F #4F1745 #4F3D17 #174F21
square
#17294F #4F1745 #4F3D17 #174F21
split-complementary
#17294F #4F2117 #454F17
monochromatic
#070C18 #091020 #17294F #25427E #335AAE

Accessibility & contrast

On white

14.32
#17294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#17294F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17294F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17294F#FFFFFF#000000##FFFFFF
##17294F1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D50
Deuteranopia (green-blind)
#0E284E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17294f;
/* rgb */ color: rgb(23, 41, 79);
/* oklch */ color: oklch(28.8% 0.074 263.4);
Tailwind
colors: {
  custom: {
    50: '#5b6280',
    500: '#17294f',
    950: '#000000',
  },
}
SCSS
$custom: #17294f;
$custom-light: #5b6280;
$custom-dark: #000000;
JSON
{
  "hex": "#17294f",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 220.714,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.28803,
    "c": 0.07357,
    "h": 263.4
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#17294F
secondary
#866E3C
accent
#AE4ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #17294F

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

Preview Lab → · Contrast checker → · Palette generator →

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