#17276A#17276A

#17276A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.119 H 268.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#17276A
RGBrgb(23, 39, 106)
HSLhsl(228, 64%, 25%)
HSVhsv(228, 78%, 42%)
CMYKcmyk(78.3%, 63.2%, 0%, 58.4%)
CIE-LABlab(18.69, 19.64, -41.03)
CIE-LCHlch(18.69, 45.49, 295.57°)
OKLaboklab(30.65% -0.0037 -0.1185)
OKLCHoklch(30.65% 0.119 268.2)
XYZxyz(3.6795, 2.6734, 13.9550)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17276A #6A5A17
analogous
#17506A #17276A #31176A
triadic
#17276A #6A1727 #276A17
tetradic
#17276A #6A1750 #6A5A17 #176A31
square
#17276A #6A1750 #6A5A17 #176A31
split-complementary
#17276A #6A3117 #506A17
monochromatic
#050919 #0C1438 #17276A #223A9C #2D4CCF

Accessibility & contrast

On white

13.68
#17276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#17276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17276A
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17276A#FFFFFF#000000##FFFFFF
##17276A1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17276a;
/* rgb */ color: rgb(23, 39, 106);
/* oklch */ color: oklch(30.7% 0.119 268.2);
Tailwind
colors: {
  custom: {
    50: '#626095',
    500: '#17276a',
    950: '#000000',
  },
}
SCSS
$custom: #17276a;
$custom-light: #626095;
$custom-dark: #000000;
JSON
{
  "hex": "#17276a",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 228.434,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30653,
    "c": 0.11855,
    "h": 268.2
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#17276A
secondary
#A08D3D
accent
#C740E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #17276A

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

Preview Lab → · Contrast checker → · Palette generator →

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