#17245B#17245B

#17245B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.100 H 269.1°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#17245B
RGBrgb(23, 36, 91)
HSLhsl(229, 60%, 22%)
HSVhsv(229, 75%, 36%)
CMYKcmyk(74.7%, 60.4%, 0%, 64.3%)
CIE-LABlab(16.50, 15.65, -34.71)
CIE-LCHlch(16.50, 38.07, 294.27°)
OKLaboklab(28.61% -0.0016 -0.0999)
OKLCHoklch(28.61% 0.1 269.1)
XYZxyz(2.8719, 2.1990, 10.1686)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17245B #5B4E17
analogous
#17465B #17245B #2C175B
triadic
#17245B #5B1724 #245B17
tetradic
#17245B #5B1746 #5B4E17 #175B2C
square
#17245B #5B1746 #5B4E17 #175B2C
split-complementary
#17245B #5B2C17 #465B17
monochromatic
#060A18 #0B112A #17245B #23378C #304BBD

Accessibility & contrast

On white

14.59
#17245B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#17245B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17245B
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17245B#FFFFFF#000000##FFFFFF
##17245B1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17245b;
/* rgb */ color: rgb(23, 36, 91);
/* oklch */ color: oklch(28.6% 0.100 269.1);
Tailwind
colors: {
  custom: {
    50: '#5e5e8a',
    500: '#17245b',
    950: '#000000',
  },
}
SCSS
$custom: #17245b;
$custom-light: #5e5e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#17245b",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 228.529,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28609,
    "c": 0.09996,
    "h": 269.1
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#17245B
secondary
#92813C
accent
#C545E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17245B

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

Preview Lab → · Contrast checker → · Palette generator →

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