#17254C#17254C

#17254C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.074 H 266.7°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#17254C
RGBrgb(23, 37, 76)
HSLhsl(224, 54%, 19%)
HSVhsv(224, 70%, 30%)
CMYKcmyk(69.7%, 51.3%, 0%, 70.2%)
CIE-LABlab(15.63, 8.69, -25.99)
CIE-LCHlch(15.63, 27.40, 288.49°)
OKLaboklab(27.57% -0.0043 -0.0743)
OKLCHoklch(27.57% 0.074 266.7)
XYZxyz(2.3190, 2.0269, 7.1051)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17254C #4C3E17
analogous
#17404C #17254C #24174C
triadic
#17254C #4C1725 #254C17
tetradic
#17254C #4C1740 #4C3E17 #174C24
square
#17254C #4C1740 #4C3E17 #174C24
split-complementary
#17254C #4C2417 #404C17
monochromatic
#070B17 #090E1D #17254C #253C7B #3353AA

Accessibility & contrast

On white

14.94
#17254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17254C
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17254C#FFFFFF#000000##FFFFFF
##17254C1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4D
Deuteranopia (green-blind)
#09254B
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17254c;
/* rgb */ color: rgb(23, 37, 76);
/* oklch */ color: oklch(27.6% 0.074 266.7);
Tailwind
colors: {
  custom: {
    50: '#5a5f7e',
    500: '#17254c',
    950: '#000000',
  },
}
SCSS
$custom: #17254c;
$custom-light: #5a5f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#17254c",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 224.151,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27573,
    "c": 0.0744,
    "h": 266.7
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#17254C
secondary
#83703C
accent
#B64BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17254C

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

Preview Lab → · Contrast checker → · Palette generator →

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