#17277B#17277B

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

Color values

HEX#17277B
RGBrgb(23, 39, 123)
HSLhsl(230, 68%, 29%)
HSVhsv(230, 81%, 48%)
CMYKcmyk(81.3%, 68.3%, 0%, 51.8%)
CIE-LABlab(20.29, 26.47, -49.35)
CIE-LCHlch(20.29, 56.00, 298.21°)
OKLaboklab(32.34% -0.0042 -0.1428)
OKLCHoklch(32.34% 0.143 268.3)
XYZxyz(4.6528, 3.0627, 19.0810)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17277B #7B6B17
analogous
#17597B #17277B #39177B
triadic
#17277B #7B1727 #277B17
tetradic
#17277B #7B1759 #7B6B17 #177B39
square
#17277B #7B1759 #7B6B17 #177B39
split-complementary
#17277B #7B3917 #597B17
monochromatic
#05081A #0D1747 #17277B #2137AF #334ED9

Accessibility & contrast

On white

13.02
#17277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17277B
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17277B#FFFFFF#000000##FFFFFF
##17277B1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17277b;
/* rgb */ color: rgb(23, 39, 123);
/* oklch */ color: oklch(32.3% 0.143 268.3);
Tailwind
colors: {
  custom: {
    50: '#6761a2',
    500: '#17277b',
    950: '#000000',
  },
}
SCSS
$custom: #17277b;
$custom-light: #6761a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17277b",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 230.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32335,
    "c": 0.1429,
    "h": 268.3
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#17277B
secondary
#B09E3E
accent
#CF3CEB
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17277B

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

Preview Lab → · Contrast checker → · Palette generator →

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