#17277E#17277E

#17277E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.147 H 268.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#17277E
RGBrgb(23, 39, 126)
HSLhsl(231, 69%, 29%)
HSVhsv(231, 82%, 49%)
CMYKcmyk(81.7%, 69%, 0%, 50.6%)
CIE-LABlab(20.59, 27.65, -50.76)
CIE-LCHlch(20.59, 57.80, 298.57°)
OKLaboklab(32.64% -0.0044 -0.147)
OKLCHoklch(32.64% 0.147 268.3)
XYZxyz(4.8435, 3.1390, 20.0852)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17277E #7E6E17
analogous
#175B7E #17277E #3B177E
triadic
#17277E #7E1727 #277E17
tetradic
#17277E #7E175B #7E6E17 #177E3B
square
#17277E #7E175B #7E6E17 #177E3B
split-complementary
#17277E #7E3B17 #5B7E17
monochromatic
#05081A #0E174A #17277E #2037B2 #354FDA

Accessibility & contrast

On white

12.90
#17277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#17277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17277E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17277E#FFFFFF#000000##FFFFFF
##17277E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17277e;
/* rgb */ color: rgb(23, 39, 126);
/* oklch */ color: oklch(32.6% 0.147 268.3);
Tailwind
colors: {
  custom: {
    50: '#6861a4',
    500: '#17277e',
    950: '#000000',
  },
}
SCSS
$custom: #17277e;
$custom-light: #6861a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17277e",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 230.68,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32644,
    "c": 0.14704,
    "h": 268.3
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#17277E
secondary
#B3A13E
accent
#D13CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17277E

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

Preview Lab → · Contrast checker → · Palette generator →

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