#17226E#17226E

#17226E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.0% C 0.131 H 269.9°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#17226E
RGBrgb(23, 34, 110)
HSLhsl(232, 65%, 26%)
HSVhsv(232, 79%, 43%)
CMYKcmyk(79.1%, 69.1%, 0%, 56.9%)
CIE-LABlab(17.70, 24.80, -45.25)
CIE-LCHlch(17.70, 51.60, 298.72°)
OKLaboklab(30.04% -0.0003 -0.1309)
OKLCHoklch(30.04% 0.131 269.9)
XYZxyz(3.7389, 2.4516, 15.0250)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17226E #6E6317
analogous
#174D6E #17226E #37176E
triadic
#17226E #6E1722 #226E17
tetradic
#17226E #6E174D #6E6317 #176E37
square
#17226E #6E174D #6E6317 #176E37
split-complementary
#17226E #6E3717 #4D6E17
monochromatic
#050819 #0C123B #17226E #2232A1 #2C41D3

Accessibility & contrast

On white

14.09
#17226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#17226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17226E
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17226E#FFFFFF#000000##FFFFFF
##17226E1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17226e;
/* rgb */ color: rgb(23, 34, 110);
/* oklch */ color: oklch(30.0% 0.131 269.9);
Tailwind
colors: {
  custom: {
    50: '#645d98',
    500: '#17226e',
    950: '#000000',
  },
}
SCSS
$custom: #17226e;
$custom-light: #645d98;
$custom-dark: #000000;
JSON
{
  "hex": "#17226e",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 232.414,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30042,
    "c": 0.1309,
    "h": 269.9
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#17226E
secondary
#A4973D
accent
#D33FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17226E

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

Preview Lab → · Contrast checker → · Palette generator →

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