#17276E#17276E

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

Color values

HEX#17276E
RGBrgb(23, 39, 110)
HSLhsl(229, 65%, 26%)
HSVhsv(229, 79%, 43%)
CMYKcmyk(79.1%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.05, 21.27, -43.04)
CIE-LCHlch(19.05, 48.00, 296.30°)
OKLaboklab(31.04% -0.0038 -0.1244)
OKLCHoklch(31.04% 0.124 268.3)
XYZxyz(3.8924, 2.7586, 15.0761)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17276E #6E5E17
analogous
#17526E #17276E #32176E
triadic
#17276E #6E1727 #276E17
tetradic
#17276E #6E1752 #6E5E17 #176E32
square
#17276E #6E1752 #6E5E17 #176E32
split-complementary
#17276E #6E3217 #526E17
monochromatic
#050919 #0C153B #17276E #2239A1 #2C4BD3

Accessibility & contrast

On white

13.53
#17276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#17276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17276E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17276E#FFFFFF#000000##FFFFFF
##17276E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17276e;
/* rgb */ color: rgb(23, 39, 110);
/* oklch */ color: oklch(31.0% 0.124 268.3);
Tailwind
colors: {
  custom: {
    50: '#636098',
    500: '#17276e',
    950: '#000000',
  },
}
SCSS
$custom: #17276e;
$custom-light: #636098;
$custom-dark: #000000;
JSON
{
  "hex": "#17276e",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 228.966,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31037,
    "c": 0.12443,
    "h": 268.3
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#17276E
secondary
#A4913D
accent
#C93FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #17276E

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

Preview Lab → · Contrast checker → · Palette generator →

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