#17277F#17277F

#17277F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.148 H 268.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#17277F
RGBrgb(23, 39, 127)
HSLhsl(231, 69%, 29%)
HSVhsv(231, 82%, 50%)
CMYKcmyk(81.9%, 69.3%, 0%, 50.2%)
CIE-LABlab(20.69, 28.04, -51.23)
CIE-LCHlch(20.69, 58.40, 298.69°)
OKLaboklab(32.75% -0.0045 -0.1483)
OKLCHoklch(32.75% 0.148 268.3)
XYZxyz(4.9083, 3.1649, 20.4268)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17277F #7F6F17
analogous
#175B7F #17277F #3B177F
triadic
#17277F #7F1727 #277F17
tetradic
#17277F #7F175B #7F6F17 #177F3B
square
#17277F #7F175B #7F6F17 #177F3B
split-complementary
#17277F #7F3B17 #5B7F17
monochromatic
#05081A #0E174B #17277F #2037B3 #364FDB

Accessibility & contrast

On white

12.86
#17277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17277F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17277F#FFFFFF#000000##FFFFFF
##17277F1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17277f;
/* rgb */ color: rgb(23, 39, 127);
/* oklch */ color: oklch(32.7% 0.148 268.3);
Tailwind
colors: {
  custom: {
    50: '#6861a5',
    500: '#17277f',
    950: '#000000',
  },
}
SCSS
$custom: #17277f;
$custom-light: #6861a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17277f",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 230.769,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32748,
    "c": 0.14841,
    "h": 268.3
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17277F

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

Preview Lab → · Contrast checker → · Palette generator →

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