#17266A#17266A

#17266A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.120 H 268.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#17266A
RGBrgb(23, 38, 106)
HSLhsl(229, 64%, 25%)
HSVhsv(229, 78%, 42%)
CMYKcmyk(78.3%, 64.2%, 0%, 58.4%)
CIE-LABlab(18.40, 20.36, -41.50)
CIE-LCHlch(18.40, 46.22, 296.13°)
OKLaboklab(30.44% -0.003 -0.1199)
OKLCHoklch(30.44% 0.12 268.6)
XYZxyz(3.6471, 2.6086, 13.9442)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17266A #6A5B17
analogous
#174F6A #17266A #32176A
triadic
#17266A #6A1726 #266A17
tetradic
#17266A #6A174F #6A5B17 #176A32
square
#17266A #6A174F #6A5B17 #176A32
split-complementary
#17266A #6A3217 #4F6A17
monochromatic
#050919 #0C1438 #17266A #22389C #2D4ACF

Accessibility & contrast

On white

13.80
#17266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#17266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17266A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17266A#FFFFFF#000000##FFFFFF
##17266A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17266a;
/* rgb */ color: rgb(23, 38, 106);
/* oklch */ color: oklch(30.4% 0.120 268.6);
Tailwind
colors: {
  custom: {
    50: '#626095',
    500: '#17266a',
    950: '#000000',
  },
}
SCSS
$custom: #17266a;
$custom-light: #626095;
$custom-dark: #000000;
JSON
{
  "hex": "#17266a",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 229.157,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30443,
    "c": 0.1199,
    "h": 268.6
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#17266A
secondary
#A08E3D
accent
#C940E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17266A

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

Preview Lab → · Contrast checker → · Palette generator →

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