#17257F#17257F

#17257F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.151 H 268.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#17257F
RGBrgb(23, 37, 127)
HSLhsl(232, 69%, 29%)
HSVhsv(232, 82%, 50%)
CMYKcmyk(81.9%, 70.9%, 0%, 50.2%)
CIE-LABlab(20.19, 29.39, -52.05)
CIE-LCHlch(20.19, 59.77, 299.45°)
OKLaboklab(32.38% -0.0034 -0.1507)
OKLCHoklch(32.38% 0.151 268.7)
XYZxyz(4.8444, 3.0370, 20.4054)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17257F #7F7117
analogous
#17597F #17257F #3D177F
triadic
#17257F #7F1725 #257F17
tetradic
#17257F #7F1759 #7F7117 #177F3D
square
#17257F #7F1759 #7F7117 #177F3D
split-complementary
#17257F #7F3D17 #597F17
monochromatic
#05081A #0E164B #17257F #2034B3 #364CDB

Accessibility & contrast

On white

13.06
#17257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#17257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17257F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17257F#FFFFFF#000000##FFFFFF
##17257F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17257f;
/* rgb */ color: rgb(23, 37, 127);
/* oklch */ color: oklch(32.4% 0.151 268.7);
Tailwind
colors: {
  custom: {
    50: '#685fa5',
    500: '#17257f',
    950: '#000000',
  },
}
SCSS
$custom: #17257f;
$custom-light: #685fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#17257f",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 231.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32384,
    "c": 0.15079,
    "h": 268.7
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#17257F
secondary
#B4A43E
accent
#D43CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17257F

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

Preview Lab → · Contrast checker → · Palette generator →

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