#17257C#17257C

#17257C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.147 H 268.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#17257C
RGBrgb(23, 37, 124)
HSLhsl(232, 69%, 29%)
HSVhsv(232, 81%, 49%)
CMYKcmyk(81.5%, 70.2%, 0%, 51.4%)
CIE-LABlab(19.88, 28.23, -50.66)
CIE-LCHlch(19.88, 57.99, 299.13°)
OKLaboklab(32.07% -0.0032 -0.1467)
OKLCHoklch(32.07% 0.147 268.8)
XYZxyz(4.6518, 2.9600, 19.3910)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17257C #7C6E17
analogous
#17587C #17257C #3C177C
triadic
#17257C #7C1725 #257C17
tetradic
#17257C #7C1758 #7C6E17 #177C3C
square
#17257C #7C1758 #7C6E17 #177C3C
split-complementary
#17257C #7C3C17 #587C17
monochromatic
#05081A #0D1648 #17257C #2134B0 #344BD9

Accessibility & contrast

On white

13.19
#17257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#17257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17257C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17257C#FFFFFF#000000##FFFFFF
##17257C1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17257c;
/* rgb */ color: rgb(23, 37, 124);
/* oklch */ color: oklch(32.1% 0.147 268.8);
Tailwind
colors: {
  custom: {
    50: '#675fa3',
    500: '#17257c',
    950: '#000000',
  },
}
SCSS
$custom: #17257c;
$custom-light: #675fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#17257c",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 231.683,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32066,
    "c": 0.14671,
    "h": 268.8
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#17257C
secondary
#B1A13E
accent
#D33CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17257C

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

Preview Lab → · Contrast checker → · Palette generator →

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