#17245C#17245C

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

Color values

HEX#17245C
RGBrgb(23, 36, 92)
HSLhsl(229, 60%, 23%)
HSVhsv(229, 75%, 36%)
CMYKcmyk(75%, 60.9%, 0%, 63.9%)
CIE-LABlab(16.58, 16.07, -35.24)
CIE-LCHlch(16.58, 38.73, 294.51°)
OKLaboklab(28.7% -0.0015 -0.1015)
OKLCHoklch(28.7% 0.102 269.1)
XYZxyz(2.9153, 2.2163, 10.3973)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17245C #5C4F17
analogous
#17465C #17245C #2D175C
triadic
#17245C #5C1724 #245C17
tetradic
#17245C #5C1746 #5C4F17 #175C2D
square
#17245C #5C1746 #5C4F17 #175C2D
split-complementary
#17245C #5C2D17 #465C17
monochromatic
#060A18 #0B112B #17245C #23378D #2F4ABE

Accessibility & contrast

On white

14.55
#17245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17245C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17245C#FFFFFF#000000##FFFFFF
##17245C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17245c;
/* rgb */ color: rgb(23, 36, 92);
/* oklch */ color: oklch(28.7% 0.102 269.1);
Tailwind
colors: {
  custom: {
    50: '#5f5e8b',
    500: '#17245c',
    950: '#000000',
  },
}
SCSS
$custom: #17245c;
$custom-light: #5f5e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17245c",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 228.696,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28699,
    "c": 0.10151,
    "h": 269.1
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17245C

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

Preview Lab → · Contrast checker → · Palette generator →

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