#17295F#17295F

#17295F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.099 H 266.5°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#17295F
RGBrgb(23, 41, 95)
HSLhsl(225, 61%, 23%)
HSVhsv(225, 76%, 37%)
CMYKcmyk(75.8%, 56.8%, 0%, 62.7%)
CIE-LABlab(18.34, 13.63, -34.38)
CIE-LCHlch(18.34, 36.98, 291.62°)
OKLaboklab(30.1% -0.006 -0.0989)
OKLCHoklch(30.1% 0.099 266.5)
XYZxyz(3.2111, 2.5939, 11.1557)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17295F #5F4D17
analogous
#174D5F #17295F #29175F
triadic
#17295F #5F1729 #295F17
tetradic
#17295F #5F174D #5F4D17 #175F29
square
#17295F #5F174D #5F4D17 #175F29
split-complementary
#17295F #5F2917 #4D5F17
monochromatic
#060B19 #0B142E #17295F #233E90 #2F54C2

Accessibility & contrast

On white

13.83
#17295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17295F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17295F#FFFFFF#000000##FFFFFF
##17295F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043061
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17295f;
/* rgb */ color: rgb(23, 41, 95);
/* oklch */ color: oklch(30.1% 0.099 266.5);
Tailwind
colors: {
  custom: {
    50: '#5f628d',
    500: '#17295f',
    950: '#000000',
  },
}
SCSS
$custom: #17295f;
$custom-light: #5f628d;
$custom-dark: #000000;
JSON
{
  "hex": "#17295f",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 225,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30098,
    "c": 0.09909,
    "h": 266.5
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#17295F
secondary
#967F3C
accent
#BC44E4
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #17295F

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

Preview Lab → · Contrast checker → · Palette generator →

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