#17276D#17276D

#17276D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.123 H 268.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#17276D
RGBrgb(23, 39, 109)
HSLhsl(229, 65%, 26%)
HSVhsv(229, 79%, 43%)
CMYKcmyk(78.9%, 64.2%, 0%, 57.3%)
CIE-LABlab(18.96, 20.86, -42.54)
CIE-LCHlch(18.96, 47.38, 296.12°)
OKLaboklab(30.94% -0.0037 -0.1229)
OKLCHoklch(30.94% 0.123 268.3)
XYZxyz(3.8382, 2.7369, 14.7910)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17276D #6D5D17
analogous
#17526D #17276D #32176D
triadic
#17276D #6D1727 #276D17
tetradic
#17276D #6D1752 #6D5D17 #176D32
square
#17276D #6D1752 #6D5D17 #176D32
split-complementary
#17276D #6D3217 #526D17
monochromatic
#050919 #0C153A #17276D #2239A0 #2C4BD2

Accessibility & contrast

On white

13.57
#17276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17276D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17276D#FFFFFF#000000##FFFFFF
##17276D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17276d;
/* rgb */ color: rgb(23, 39, 109);
/* oklch */ color: oklch(30.9% 0.123 268.3);
Tailwind
colors: {
  custom: {
    50: '#636098',
    500: '#17276d',
    950: '#000000',
  },
}
SCSS
$custom: #17276d;
$custom-light: #636098;
$custom-dark: #000000;
JSON
{
  "hex": "#17276d",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 228.837,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.12297,
    "h": 268.3
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#17276D
secondary
#A3903D
accent
#C940E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #17276D

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

Preview Lab → · Contrast checker → · Palette generator →

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