#17254A#17254A

#17254A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.071 H 266.2°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#17254A
RGBrgb(23, 37, 74)
HSLhsl(224, 53%, 19%)
HSVhsv(224, 69%, 29%)
CMYKcmyk(68.9%, 50%, 0%, 71%)
CIE-LABlab(15.48, 7.87, -24.85)
CIE-LCHlch(15.48, 26.07, 287.57°)
OKLaboklab(27.42% -0.0047 -0.0709)
OKLCHoklch(27.42% 0.071 266.2)
XYZxyz(2.2505, 1.9995, 6.7446)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17254A #4A3C17
analogous
#173F4A #17254A #23174A
triadic
#17254A #4A1725 #254A17
tetradic
#17254A #4A173F #4A3C17 #174A23
square
#17254A #4A173F #4A3C17 #174A23
split-complementary
#17254A #4A2317 #3F4A17
monochromatic
#070C17 #080E1B #17254A #263C79 #3454A7

Accessibility & contrast

On white

15.00
#17254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17254A
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17254A#FFFFFF#000000##FFFFFF
##17254A1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294B
Deuteranopia (green-blind)
#0B2549
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17254a;
/* rgb */ color: rgb(23, 37, 74);
/* oklch */ color: oklch(27.4% 0.071 266.2);
Tailwind
colors: {
  custom: {
    50: '#5a5f7d',
    500: '#17254a',
    950: '#000000',
  },
}
SCSS
$custom: #17254a;
$custom-light: #5a5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#17254a",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 223.529,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27417,
    "c": 0.07108,
    "h": 266.2
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#17254A
secondary
#816E3C
accent
#B44CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #17254A

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

Preview Lab → · Contrast checker → · Palette generator →

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