#17276C#17276C

#17276C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.8% C 0.121 H 268.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#17276C
RGBrgb(23, 39, 108)
HSLhsl(229, 65%, 26%)
HSVhsv(229, 79%, 42%)
CMYKcmyk(78.7%, 63.9%, 0%, 57.6%)
CIE-LABlab(18.87, 20.45, -42.04)
CIE-LCHlch(18.87, 46.75, 295.94°)
OKLaboklab(30.84% -0.0037 -0.1214)
OKLCHoklch(30.84% 0.122 268.2)
XYZxyz(3.7847, 2.7155, 14.5091)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17276C #6C5C17
analogous
#17516C #17276C #31176C
triadic
#17276C #6C1727 #276C17
tetradic
#17276C #6C1751 #6C5C17 #176C31
square
#17276C #6C1751 #6C5C17 #176C31
split-complementary
#17276C #6C3117 #516C17
monochromatic
#050919 #0C153A #17276C #22399E #2C4BD1

Accessibility & contrast

On white

13.61
#17276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#17276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17276C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17276C#FFFFFF#000000##FFFFFF
##17276C1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17276c;
/* rgb */ color: rgb(23, 39, 108);
/* oklch */ color: oklch(30.8% 0.121 268.2);
Tailwind
colors: {
  custom: {
    50: '#636097',
    500: '#17276c',
    950: '#000000',
  },
}
SCSS
$custom: #17276c;
$custom-light: #636097;
$custom-dark: #000000;
JSON
{
  "hex": "#17276c",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 228.706,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30844,
    "c": 0.1215,
    "h": 268.2
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#17276C
secondary
#A28F3D
accent
#C840E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #17276C

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

Preview Lab → · Contrast checker → · Palette generator →

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