#17226A#17226A

#17226A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.6% C 0.125 H 270.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#17226A
RGBrgb(23, 34, 106)
HSLhsl(232, 64%, 25%)
HSVhsv(232, 78%, 42%)
CMYKcmyk(78.3%, 67.9%, 0%, 58.4%)
CIE-LABlab(17.30, 23.21, -43.29)
CIE-LCHlch(17.30, 49.12, 298.19°)
OKLaboklab(29.63% -0.0001 -0.1252)
OKLCHoklch(29.63% 0.125 270)
XYZxyz(3.5260, 2.3664, 13.9038)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17226A #6A5F17
analogous
#174B6A #17226A #35176A
triadic
#17226A #6A1722 #226A17
tetradic
#17226A #6A174B #6A5F17 #176A35
square
#17226A #6A174B #6A5F17 #176A35
split-complementary
#17226A #6A3517 #4B6A17
monochromatic
#050819 #0C1238 #17226A #22329C #2D42CF

Accessibility & contrast

On white

14.25
#17226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#17226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17226A
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17226A#FFFFFF#000000##FFFFFF
##17226A1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17226a;
/* rgb */ color: rgb(23, 34, 106);
/* oklch */ color: oklch(29.6% 0.125 270.0);
Tailwind
colors: {
  custom: {
    50: '#635d95',
    500: '#17226a',
    950: '#000000',
  },
}
SCSS
$custom: #17226a;
$custom-light: #635d95;
$custom-dark: #000000;
JSON
{
  "hex": "#17226a",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 232.048,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29632,
    "c": 0.12517,
    "h": 270
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#17226A
secondary
#A0933D
accent
#D140E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17226A

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

Preview Lab → · Contrast checker → · Palette generator →

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