#17254F#17254F

#17254F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.079 H 267.2°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#17254F
RGBrgb(23, 37, 79)
HSLhsl(225, 55%, 20%)
HSVhsv(225, 71%, 31%)
CMYKcmyk(70.9%, 53.2%, 0%, 69%)
CIE-LABlab(15.85, 9.93, -27.68)
CIE-LCHlch(15.85, 29.41, 289.74°)
OKLaboklab(27.81% -0.0038 -0.0792)
OKLCHoklch(27.81% 0.079 267.2)
XYZxyz(2.4257, 2.0696, 7.6673)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17254F #4F4117
analogous
#17414F #17254F #25174F
triadic
#17254F #4F1725 #254F17
tetradic
#17254F #4F1741 #4F4117 #174F25
square
#17254F #4F1741 #4F4117 #174F25
split-complementary
#17254F #4F2517 #414F17
monochromatic
#070B18 #090F20 #17254F #253B7E #3351AE

Accessibility & contrast

On white

14.85
#17254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17254F
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17254F#FFFFFF#000000##FFFFFF
##17254F1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A51
Deuteranopia (green-blind)
#04254E
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17254f;
/* rgb */ color: rgb(23, 37, 79);
/* oklch */ color: oklch(27.8% 0.079 267.2);
Tailwind
colors: {
  custom: {
    50: '#5b5f81',
    500: '#17254f',
    950: '#000000',
  },
}
SCSS
$custom: #17254f;
$custom-light: #5b5f81;
$custom-dark: #000000;
JSON
{
  "hex": "#17254f",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 225,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.27812,
    "c": 0.07934,
    "h": 267.2
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#17254F
secondary
#86743C
accent
#B94ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17254F

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

Preview Lab → · Contrast checker → · Palette generator →

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