#17276F#17276F

#17276F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.126 H 268.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#17276F
RGBrgb(23, 39, 111)
HSLhsl(229, 66%, 26%)
HSVhsv(229, 79%, 44%)
CMYKcmyk(79.3%, 64.9%, 0%, 56.5%)
CIE-LABlab(19.14, 21.67, -43.53)
CIE-LCHlch(19.14, 48.63, 296.46°)
OKLaboklab(31.13% -0.0038 -0.1258)
OKLCHoklch(31.13% 0.126 268.3)
XYZxyz(3.9471, 2.7805, 15.3645)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17276F #6F5F17
analogous
#17536F #17276F #33176F
triadic
#17276F #6F1727 #276F17
tetradic
#17276F #6F1753 #6F5F17 #176F33
square
#17276F #6F1753 #6F5F17 #176F33
split-complementary
#17276F #6F3317 #536F17
monochromatic
#050919 #0C153C #17276F #2239A2 #2D4BD3

Accessibility & contrast

On white

13.49
#17276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#17276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17276F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17276F#FFFFFF#000000##FFFFFF
##17276F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17276f;
/* rgb */ color: rgb(23, 39, 111);
/* oklch */ color: oklch(31.1% 0.126 268.3);
Tailwind
colors: {
  custom: {
    50: '#636099',
    500: '#17276f',
    950: '#000000',
  },
}
SCSS
$custom: #17276f;
$custom-light: #636099;
$custom-dark: #000000;
JSON
{
  "hex": "#17276f",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 229.091,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31134,
    "c": 0.12588,
    "h": 268.3
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#17276F
secondary
#A5923D
accent
#CA3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #17276F

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

Preview Lab → · Contrast checker → · Palette generator →

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