#17276B#17276B

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

Color values

HEX#17276B
RGBrgb(23, 39, 107)
HSLhsl(229, 65%, 25%)
HSVhsv(229, 79%, 42%)
CMYKcmyk(78.5%, 63.6%, 0%, 58%)
CIE-LABlab(18.78, 20.05, -41.54)
CIE-LCHlch(18.78, 46.12, 295.76°)
OKLaboklab(30.75% -0.0037 -0.12)
OKLCHoklch(30.75% 0.12 268.2)
XYZxyz(3.7318, 2.6943, 14.2305)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17276B #6B5B17
analogous
#17516B #17276B #31176B
triadic
#17276B #6B1727 #276B17
tetradic
#17276B #6B1751 #6B5B17 #176B31
square
#17276B #6B1751 #6B5B17 #176B31
split-complementary
#17276B #6B3117 #516B17
monochromatic
#050919 #0C1539 #17276B #22399D #2D4CD0

Accessibility & contrast

On white

13.65
#17276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17276B
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17276B#FFFFFF#000000##FFFFFF
##17276B1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17276b;
/* rgb */ color: rgb(23, 39, 107);
/* oklch */ color: oklch(30.7% 0.120 268.2);
Tailwind
colors: {
  custom: {
    50: '#626096',
    500: '#17276b',
    950: '#000000',
  },
}
SCSS
$custom: #17276b;
$custom-light: #626096;
$custom-dark: #000000;
JSON
{
  "hex": "#17276b",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 228.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30748,
    "c": 0.12003,
    "h": 268.2
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17276B

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

Preview Lab → · Contrast checker → · Palette generator →

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