#17278F#17278F

#17278F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.170 H 268.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#17278F
RGBrgb(23, 39, 143)
HSLhsl(232, 72%, 33%)
HSVhsv(232, 84%, 56%)
CMYKcmyk(83.9%, 72.7%, 0%, 43.9%)
CIE-LABlab(22.36, 34.14, -58.52)
CIE-LCHlch(22.36, 67.75, 300.26°)
OKLaboklab(34.46% -0.0059 -0.1696)
OKLCHoklch(34.46% 0.17 268)
XYZxyz(6.0351, 3.6156, 26.3611)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17278F #8F7F17
analogous
#17638F #17278F #43178F
triadic
#17278F #8F1727 #278F17
tetradic
#17278F #8F1763 #8F7F17 #178F43
square
#17278F #8F1763 #8F7F17 #178F43
split-complementary
#17278F #8F4317 #638F17
monochromatic
#060A26 #0F195A #17278F #1F35C4 #4055E0

Accessibility & contrast

On white

12.19
#17278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#17278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17278F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17278F#FFFFFF#000000##FFFFFF
##17278F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #17278f;
/* rgb */ color: rgb(23, 39, 143);
/* oklch */ color: oklch(34.5% 0.170 268.0);
Tailwind
colors: {
  custom: {
    50: '#6c61b1',
    500: '#17278f',
    950: '#000000',
  },
}
SCSS
$custom: #17278f;
$custom-light: #6c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17278f",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 232,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34456,
    "c": 0.16968,
    "h": 268
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#17278F
secondary
#C1B041
accent
#D739EF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #17278F

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

Preview Lab → · Contrast checker → · Palette generator →

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