#17266D#17266D

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

Color values

HEX#17266D
RGBrgb(23, 38, 109)
HSLhsl(230, 65%, 26%)
HSVhsv(230, 79%, 43%)
CMYKcmyk(78.9%, 65.1%, 0%, 57.3%)
CIE-LABlab(18.68, 21.57, -42.99)
CIE-LCHlch(18.68, 48.10, 296.65°)
OKLaboklab(30.73% -0.003 -0.1242)
OKLCHoklch(30.73% 0.124 268.6)
XYZxyz(3.8058, 2.6721, 14.7802)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17266D #6D5E17
analogous
#17516D #17266D #33176D
triadic
#17266D #6D1726 #266D17
tetradic
#17266D #6D1751 #6D5E17 #176D33
square
#17266D #6D1751 #6D5E17 #176D33
split-complementary
#17266D #6D3317 #516D17
monochromatic
#050919 #0C143A #17266D #2238A0 #2C49D2

Accessibility & contrast

On white

13.68
#17266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17266D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17266D#FFFFFF#000000##FFFFFF
##17266D1.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)
#00326F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17266d;
/* rgb */ color: rgb(23, 38, 109);
/* oklch */ color: oklch(30.7% 0.124 268.6);
Tailwind
colors: {
  custom: {
    50: '#636098',
    500: '#17266d',
    950: '#000000',
  },
}
SCSS
$custom: #17266d;
$custom-light: #636098;
$custom-dark: #000000;
JSON
{
  "hex": "#17266d",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 229.535,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30734,
    "c": 0.12429,
    "h": 268.6
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#17266D
secondary
#A3913D
accent
#CB40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17266D

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

Preview Lab → · Contrast checker → · Palette generator →

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