#17277D#17277D

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

Color values

HEX#17277D
RGBrgb(23, 39, 125)
HSLhsl(231, 69%, 29%)
HSVhsv(231, 82%, 49%)
CMYKcmyk(81.6%, 68.8%, 0%, 51%)
CIE-LABlab(20.49, 27.26, -50.29)
CIE-LCHlch(20.49, 57.20, 298.46°)
OKLaboklab(32.54% -0.0044 -0.1456)
OKLCHoklch(32.54% 0.146 268.3)
XYZxyz(4.7793, 3.1133, 19.7471)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17277D #7D6D17
analogous
#175A7D #17277D #3A177D
triadic
#17277D #7D1727 #277D17
tetradic
#17277D #7D175A #7D6D17 #177D3A
square
#17277D #7D175A #7D6D17 #177D3A
split-complementary
#17277D #7D3A17 #5A7D17
monochromatic
#05081A #0D1749 #17277D #2137B1 #354FDA

Accessibility & contrast

On white

12.94
#17277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#17277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17277D
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17277D#FFFFFF#000000##FFFFFF
##17277D1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17277d;
/* rgb */ color: rgb(23, 39, 125);
/* oklch */ color: oklch(32.5% 0.146 268.3);
Tailwind
colors: {
  custom: {
    50: '#6761a4',
    500: '#17277d',
    950: '#000000',
  },
}
SCSS
$custom: #17277d;
$custom-light: #6761a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17277d",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 230.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32541,
    "c": 0.14567,
    "h": 268.3
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#17277D
secondary
#B2A03E
accent
#D03CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17277D

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

Preview Lab → · Contrast checker → · Palette generator →

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