#17245F#17245F

#17245F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.106 H 269.2°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#17245F
RGBrgb(23, 36, 95)
HSLhsl(229, 61%, 23%)
HSVhsv(229, 76%, 37%)
CMYKcmyk(75.8%, 62.1%, 0%, 62.7%)
CIE-LABlab(16.84, 17.30, -36.81)
CIE-LCHlch(16.84, 40.67, 295.18°)
OKLaboklab(28.98% -0.0014 -0.1061)
OKLCHoklch(28.98% 0.106 269.2)
XYZxyz(3.0491, 2.2698, 11.1017)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17245F #5F5217
analogous
#17485F #17245F #2E175F
triadic
#17245F #5F1724 #245F17
tetradic
#17245F #5F1748 #5F5217 #175F2E
square
#17245F #5F1748 #5F5217 #175F2E
split-complementary
#17245F #5F2E17 #485F17
monochromatic
#060919 #0B112E #17245F #233790 #2F49C2

Accessibility & contrast

On white

14.44
#17245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#17245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17245F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17245F#FFFFFF#000000##FFFFFF
##17245F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17245f;
/* rgb */ color: rgb(23, 36, 95);
/* oklch */ color: oklch(29.0% 0.106 269.2);
Tailwind
colors: {
  custom: {
    50: '#5f5e8d',
    500: '#17245f',
    950: '#000000',
  },
}
SCSS
$custom: #17245f;
$custom-light: #5f5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#17245f",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 229.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.10613,
    "h": 269.2
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#17245F
secondary
#96863C
accent
#C744E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17245F

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

Preview Lab → · Contrast checker → · Palette generator →

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