#17266C#17266C

#17266C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.6% C 0.123 H 268.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#17266C
RGBrgb(23, 38, 108)
HSLhsl(229, 65%, 26%)
HSVhsv(229, 79%, 42%)
CMYKcmyk(78.7%, 64.8%, 0%, 57.6%)
CIE-LABlab(18.59, 21.17, -42.50)
CIE-LCHlch(18.59, 47.48, 296.48°)
OKLaboklab(30.64% -0.003 -0.1228)
OKLCHoklch(30.64% 0.123 268.6)
XYZxyz(3.7523, 2.6507, 14.4983)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17266C #6C5D17
analogous
#17506C #17266C #32176C
triadic
#17266C #6C1726 #266C17
tetradic
#17266C #6C1750 #6C5D17 #176C32
square
#17266C #6C1750 #6C5D17 #176C32
split-complementary
#17266C #6C3217 #506C17
monochromatic
#050919 #0C143A #17266C #22389E #2C4AD1

Accessibility & contrast

On white

13.72
#17266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#17266C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17266C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17266C#FFFFFF#000000##FFFFFF
##17266C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17266c;
/* rgb */ color: rgb(23, 38, 108);
/* oklch */ color: oklch(30.6% 0.123 268.6);
Tailwind
colors: {
  custom: {
    50: '#636097',
    500: '#17266c',
    950: '#000000',
  },
}
SCSS
$custom: #17266c;
$custom-light: #636097;
$custom-dark: #000000;
JSON
{
  "hex": "#17266c",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 229.412,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30637,
    "c": 0.12283,
    "h": 268.6
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#17266C
secondary
#A2903D
accent
#CA40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17266C

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

Preview Lab → · Contrast checker → · Palette generator →

#17266C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva