#17277A#17277A

#17277A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.142 H 268.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#17277A
RGBrgb(23, 39, 122)
HSLhsl(230, 68%, 28%)
HSVhsv(230, 81%, 48%)
CMYKcmyk(81.1%, 68%, 0%, 52.2%)
CIE-LABlab(20.19, 26.07, -48.87)
CIE-LCHlch(20.19, 55.39, 298.08°)
OKLaboklab(32.23% -0.0042 -0.1414)
OKLCHoklch(32.23% 0.142 268.3)
XYZxyz(4.5905, 3.0378, 18.7530)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17277A #7A6A17
analogous
#17587A #17277A #38177A
triadic
#17277A #7A1727 #277A17
tetradic
#17277A #7A1758 #7A6A17 #177A38
square
#17277A #7A1758 #7A6A17 #177A38
split-complementary
#17277A #7A3817 #587A17
monochromatic
#05081A #0D1747 #17277A #2137AD #334ED9

Accessibility & contrast

On white

13.06
#17277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#17277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17277A
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17277A#FFFFFF#000000##FFFFFF
##17277A1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17277a;
/* rgb */ color: rgb(23, 39, 122);
/* oklch */ color: oklch(32.2% 0.142 268.3);
Tailwind
colors: {
  custom: {
    50: '#6661a1',
    500: '#17277a',
    950: '#000000',
  },
}
SCSS
$custom: #17277a;
$custom-light: #6661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#17277a",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 230.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32232,
    "c": 0.14151,
    "h": 268.3
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#17277A
secondary
#AF9D3E
accent
#CF3DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17277A

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

Preview Lab → · Contrast checker → · Palette generator →

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