#17295E#17295E

#17295E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.098 H 266.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#17295E
RGBrgb(23, 41, 94)
HSLhsl(225, 61%, 23%)
HSVhsv(225, 76%, 37%)
CMYKcmyk(75.5%, 56.4%, 0%, 63.1%)
CIE-LABlab(18.26, 13.21, -33.85)
CIE-LCHlch(18.26, 36.34, 291.32°)
OKLaboklab(30.01% -0.0061 -0.0973)
OKLCHoklch(30.01% 0.098 266.4)
XYZxyz(3.1660, 2.5759, 10.9178)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17295E #5E4C17
analogous
#174C5E #17295E #28175E
triadic
#17295E #5E1729 #295E17
tetradic
#17295E #5E174C #5E4C17 #175E28
square
#17295E #5E174C #5E4C17 #175E28
split-complementary
#17295E #5E2817 #4C5E17
monochromatic
#060B19 #0B142D #17295E #233E8F #2F54C0

Accessibility & contrast

On white

13.86
#17295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#17295E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17295E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17295E#FFFFFF#000000##FFFFFF
##17295E1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063060
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17295e;
/* rgb */ color: rgb(23, 41, 94);
/* oklch */ color: oklch(30.0% 0.098 266.4);
Tailwind
colors: {
  custom: {
    50: '#5f628c',
    500: '#17295e',
    950: '#000000',
  },
}
SCSS
$custom: #17295e;
$custom-light: #5f628c;
$custom-dark: #000000;
JSON
{
  "hex": "#17295e",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 224.789,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30012,
    "c": 0.09753,
    "h": 266.4
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#17295E
secondary
#957E3C
accent
#BB44E4
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #17295E

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

Preview Lab → · Contrast checker → · Palette generator →

#17295E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva