#17254B#17254B

#17254B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.073 H 266.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#17254B
RGBrgb(23, 37, 75)
HSLhsl(224, 53%, 19%)
HSVhsv(224, 69%, 29%)
CMYKcmyk(69.3%, 50.7%, 0%, 70.6%)
CIE-LABlab(15.56, 8.28, -25.42)
CIE-LCHlch(15.56, 26.73, 288.04°)
OKLaboklab(27.5% -0.0045 -0.0726)
OKLCHoklch(27.5% 0.073 266.5)
XYZxyz(2.2845, 2.0131, 6.9234)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17254B #4B3D17
analogous
#173F4B #17254B #23174B
triadic
#17254B #4B1725 #254B17
tetradic
#17254B #4B173F #4B3D17 #174B23
square
#17254B #4B173F #4B3D17 #174B23
split-complementary
#17254B #4B2317 #3F4B17
monochromatic
#070C17 #090E1C #17254B #253C7A #3453A9

Accessibility & contrast

On white

14.97
#17254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#17254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17254B
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17254B#FFFFFF#000000##FFFFFF
##17254B1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294C
Deuteranopia (green-blind)
#0A254A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17254b;
/* rgb */ color: rgb(23, 37, 75);
/* oklch */ color: oklch(27.5% 0.073 266.5);
Tailwind
colors: {
  custom: {
    50: '#5a5f7d',
    500: '#17254b',
    950: '#000000',
  },
}
SCSS
$custom: #17254b;
$custom-light: #5a5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#17254b",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 223.846,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27495,
    "c": 0.07275,
    "h": 266.5
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#17254B
secondary
#826F3C
accent
#B54BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17254B

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

Preview Lab → · Contrast checker → · Palette generator →

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