#17297E#17297E

#17297E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.145 H 267.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#17297E
RGBrgb(23, 41, 126)
HSLhsl(230, 69%, 29%)
HSVhsv(230, 82%, 49%)
CMYKcmyk(81.7%, 67.5%, 0%, 50.6%)
CIE-LABlab(21.11, 26.28, -49.91)
CIE-LCHlch(21.11, 56.41, 297.76°)
OKLaboklab(33.02% -0.0055 -0.1445)
OKLCHoklch(33.02% 0.145 267.8)
XYZxyz(4.9109, 3.2738, 20.1077)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17297E #7E6C17
analogous
#175D7E #17297E #39177E
triadic
#17297E #7E1729 #297E17
tetradic
#17297E #7E175D #7E6C17 #177E39
square
#17297E #7E175D #7E6C17 #177E39
split-complementary
#17297E #7E3917 #5D7E17
monochromatic
#05081A #0E184A #17297E #203AB2 #3552DA

Accessibility & contrast

On white

12.69
#17297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#17297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17297E
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17297E#FFFFFF#000000##FFFFFF
##17297E1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #17297e;
/* rgb */ color: rgb(23, 41, 126);
/* oklch */ color: oklch(33.0% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#6762a4',
    500: '#17297e',
    950: '#000000',
  },
}
SCSS
$custom: #17297e;
$custom-light: #6762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17297e",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 229.515,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33022,
    "c": 0.14459,
    "h": 267.8
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#17297E
secondary
#B39E3E
accent
#CD3CEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17297E

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

Preview Lab → · Contrast checker → · Palette generator →

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