#17257E#17257E

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

Color values

HEX#17257E
RGBrgb(23, 37, 126)
HSLhsl(232, 69%, 29%)
HSVhsv(232, 82%, 49%)
CMYKcmyk(81.7%, 70.6%, 0%, 50.6%)
CIE-LABlab(20.09, 29.00, -51.59)
CIE-LCHlch(20.09, 59.18, 299.34°)
OKLaboklab(32.28% -0.0034 -0.1494)
OKLCHoklch(32.28% 0.149 268.7)
XYZxyz(4.7795, 3.0111, 20.0639)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17257E #7E7017
analogous
#17597E #17257E #3D177E
triadic
#17257E #7E1725 #257E17
tetradic
#17257E #7E1759 #7E7017 #177E3D
square
#17257E #7E1759 #7E7017 #177E3D
split-complementary
#17257E #7E3D17 #597E17
monochromatic
#05081A #0E164A #17257E #2034B2 #354CDA

Accessibility & contrast

On white

13.11
#17257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17257E
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17257E#FFFFFF#000000##FFFFFF
##17257E1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17257e;
/* rgb */ color: rgb(23, 37, 126);
/* oklch */ color: oklch(32.3% 0.149 268.7);
Tailwind
colors: {
  custom: {
    50: '#685fa4',
    500: '#17257e',
    950: '#000000',
  },
}
SCSS
$custom: #17257e;
$custom-light: #685fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#17257e",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 231.845,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32277,
    "c": 0.14944,
    "h": 268.7
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17257E

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

Preview Lab → · Contrast checker → · Palette generator →

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