#17277C#17277C

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

Color values

HEX#17277C
RGBrgb(23, 39, 124)
HSLhsl(230, 69%, 29%)
HSVhsv(230, 81%, 49%)
CMYKcmyk(81.5%, 68.5%, 0%, 51.4%)
CIE-LABlab(20.39, 26.86, -49.82)
CIE-LCHlch(20.39, 56.60, 298.33°)
OKLaboklab(32.44% -0.0043 -0.1442)
OKLCHoklch(32.44% 0.144 268.3)
XYZxyz(4.7157, 3.0879, 19.4124)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17277C #7C6C17
analogous
#175A7C #17277C #3A177C
triadic
#17277C #7C1727 #277C17
tetradic
#17277C #7C175A #7C6C17 #177C3A
square
#17277C #7C175A #7C6C17 #177C3A
split-complementary
#17277C #7C3A17 #5A7C17
monochromatic
#05081A #0D1748 #17277C #2137B0 #344ED9

Accessibility & contrast

On white

12.98
#17277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17277C
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17277C#FFFFFF#000000##FFFFFF
##17277C1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17277c;
/* rgb */ color: rgb(23, 39, 124);
/* oklch */ color: oklch(32.4% 0.144 268.3);
Tailwind
colors: {
  custom: {
    50: '#6761a3',
    500: '#17277c',
    950: '#000000',
  },
}
SCSS
$custom: #17277c;
$custom-light: #6761a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17277c",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 230.495,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.14428,
    "h": 268.3
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#17277C
secondary
#B19F3E
accent
#D03CEC
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17277C

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

Preview Lab → · Contrast checker → · Palette generator →

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