#17254E#17254E

#17254E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.7% C 0.078 H 267.1°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#17254E
RGBrgb(23, 37, 78)
HSLhsl(225, 54%, 20%)
HSVhsv(225, 71%, 31%)
CMYKcmyk(70.5%, 52.6%, 0%, 69.4%)
CIE-LABlab(15.77, 9.52, -27.12)
CIE-LCHlch(15.77, 28.74, 289.34°)
OKLaboklab(27.73% -0.004 -0.0776)
OKLCHoklch(27.73% 0.078 267.1)
XYZxyz(2.3896, 2.0551, 7.4770)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17254E #4E4017
analogous
#17414E #17254E #25174E
triadic
#17254E #4E1725 #254E17
tetradic
#17254E #4E1741 #4E4017 #174E25
square
#17254E #4E1741 #4E4017 #174E25
split-complementary
#17254E #4E2517 #414E17
monochromatic
#070B18 #090F1F #17254E #253B7D #3352AD

Accessibility & contrast

On white

14.88
#17254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17254E
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17254E#FFFFFF#000000##FFFFFF
##17254E1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A50
Deuteranopia (green-blind)
#06254D
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17254e;
/* rgb */ color: rgb(23, 37, 78);
/* oklch */ color: oklch(27.7% 0.078 267.1);
Tailwind
colors: {
  custom: {
    50: '#5b5f80',
    500: '#17254e',
    950: '#000000',
  },
}
SCSS
$custom: #17254e;
$custom-light: #5b5f80;
$custom-dark: #000000;
JSON
{
  "hex": "#17254e",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 224.727,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27732,
    "c": 0.0777,
    "h": 267.1
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#17254E
secondary
#85723C
accent
#B84ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17254E

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

Preview Lab → · Contrast checker → · Palette generator →

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