#17266B#17266B

#17266B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.121 H 268.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#17266B
RGBrgb(23, 38, 107)
HSLhsl(229, 65%, 25%)
HSVhsv(229, 79%, 42%)
CMYKcmyk(78.5%, 64.5%, 0%, 58%)
CIE-LABlab(18.49, 20.76, -42.00)
CIE-LCHlch(18.49, 46.85, 296.31°)
OKLaboklab(30.54% -0.003 -0.1213)
OKLCHoklch(30.54% 0.121 268.6)
XYZxyz(3.6994, 2.6295, 14.2196)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17266B #6B5C17
analogous
#17506B #17266B #32176B
triadic
#17266B #6B1726 #266B17
tetradic
#17266B #6B1750 #6B5C17 #176B32
square
#17266B #6B1750 #6B5C17 #176B32
split-complementary
#17266B #6B3217 #506B17
monochromatic
#050919 #0C1439 #17266B #22389D #2D4AD0

Accessibility & contrast

On white

13.76
#17266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17266B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17266B#FFFFFF#000000##FFFFFF
##17266B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17266b;
/* rgb */ color: rgb(23, 38, 107);
/* oklch */ color: oklch(30.5% 0.121 268.6);
Tailwind
colors: {
  custom: {
    50: '#626096',
    500: '#17266b',
    950: '#000000',
  },
}
SCSS
$custom: #17266b;
$custom-light: #626096;
$custom-dark: #000000;
JSON
{
  "hex": "#17266b",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 229.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3054,
    "c": 0.12137,
    "h": 268.6
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17266B

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

Preview Lab → · Contrast checker → · Palette generator →

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