#17257D#17257D

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

Color values

HEX#17257D
RGBrgb(23, 37, 125)
HSLhsl(232, 69%, 29%)
HSVhsv(232, 82%, 49%)
CMYKcmyk(81.6%, 70.4%, 0%, 51%)
CIE-LABlab(19.99, 28.61, -51.12)
CIE-LCHlch(19.99, 58.59, 299.23°)
OKLaboklab(32.17% -0.0033 -0.148)
OKLCHoklch(32.17% 0.148 268.7)
XYZxyz(4.7153, 2.9854, 19.7258)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17257D #7D6F17
analogous
#17587D #17257D #3C177D
triadic
#17257D #7D1725 #257D17
tetradic
#17257D #7D1758 #7D6F17 #177D3C
square
#17257D #7D1758 #7D6F17 #177D3C
split-complementary
#17257D #7D3C17 #587D17
monochromatic
#05081A #0D1649 #17257D #2134B1 #354BDA

Accessibility & contrast

On white

13.15
#17257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#17257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17257D
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17257D#FFFFFF#000000##FFFFFF
##17257D1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17257d;
/* rgb */ color: rgb(23, 37, 125);
/* oklch */ color: oklch(32.2% 0.148 268.7);
Tailwind
colors: {
  custom: {
    50: '#685fa4',
    500: '#17257d',
    950: '#000000',
  },
}
SCSS
$custom: #17257d;
$custom-light: #685fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#17257d",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 231.765,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32171,
    "c": 0.14808,
    "h": 268.7
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17257D

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

Preview Lab → · Contrast checker → · Palette generator →

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