#17257B#17257B

#17257B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.145 H 268.8°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#17257B
RGBrgb(23, 37, 123)
HSLhsl(232, 68%, 29%)
HSVhsv(232, 81%, 48%)
CMYKcmyk(81.3%, 69.9%, 0%, 51.8%)
CIE-LABlab(19.78, 27.84, -50.19)
CIE-LCHlch(19.78, 57.39, 299.01°)
OKLaboklab(31.96% -0.0031 -0.1453)
OKLCHoklch(31.96% 0.145 268.8)
XYZxyz(4.5888, 2.9348, 19.0597)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17257B #7B6D17
analogous
#17577B #17257B #3B177B
triadic
#17257B #7B1725 #257B17
tetradic
#17257B #7B1757 #7B6D17 #177B3B
square
#17257B #7B1757 #7B6D17 #177B3B
split-complementary
#17257B #7B3B17 #577B17
monochromatic
#05081A #0D1547 #17257B #2135AF #334BD9

Accessibility & contrast

On white

13.23
#17257B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17257B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17257B#FFFFFF#000000##FFFFFF
##17257B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17257b;
/* rgb */ color: rgb(23, 37, 123);
/* oklch */ color: oklch(32.0% 0.145 268.8);
Tailwind
colors: {
  custom: {
    50: '#675fa2',
    500: '#17257b',
    950: '#000000',
  },
}
SCSS
$custom: #17257b;
$custom-light: #675fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#17257b",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 123
  },
  "hsl": {
    "h": 231.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31961,
    "c": 0.14534,
    "h": 268.8
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#17257B
secondary
#B0A03E
accent
#D33CEB
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17257B

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

Preview Lab → · Contrast checker → · Palette generator →

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