#17226C#17226C

#17226C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.128 H 269.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#17226C
RGBrgb(23, 34, 108)
HSLhsl(232, 65%, 26%)
HSVhsv(232, 79%, 42%)
CMYKcmyk(78.7%, 68.5%, 0%, 57.6%)
CIE-LABlab(17.50, 24.00, -44.28)
CIE-LCHlch(17.50, 50.36, 298.46°)
OKLaboklab(29.84% -0.0002 -0.128)
OKLCHoklch(29.84% 0.128 269.9)
XYZxyz(3.6312, 2.4085, 14.4580)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17226C #6C6117
analogous
#174C6C #17226C #36176C
triadic
#17226C #6C1722 #226C17
tetradic
#17226C #6C174C #6C6117 #176C36
square
#17226C #6C174C #6C6117 #176C36
split-complementary
#17226C #6C3617 #4C6C17
monochromatic
#050819 #0C123A #17226C #22329E #2C42D1

Accessibility & contrast

On white

14.17
#17226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#17226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17226C
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17226C#FFFFFF#000000##FFFFFF
##17226C1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17226c;
/* rgb */ color: rgb(23, 34, 108);
/* oklch */ color: oklch(29.8% 0.128 269.9);
Tailwind
colors: {
  custom: {
    50: '#635d97',
    500: '#17226c',
    950: '#000000',
  },
}
SCSS
$custom: #17226c;
$custom-light: #635d97;
$custom-dark: #000000;
JSON
{
  "hex": "#17226c",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 232.235,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29836,
    "c": 0.12805,
    "h": 269.9
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#17226C
secondary
#A2953D
accent
#D240E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17226C

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

Preview Lab → · Contrast checker → · Palette generator →

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