#17226D#17226D

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

Color values

HEX#17226D
RGBrgb(23, 34, 109)
HSLhsl(232, 65%, 26%)
HSVhsv(232, 79%, 43%)
CMYKcmyk(78.9%, 68.8%, 0%, 57.3%)
CIE-LABlab(17.60, 24.40, -44.76)
CIE-LCHlch(17.60, 50.98, 298.59°)
OKLaboklab(29.94% -0.0003 -0.1295)
OKLCHoklch(29.94% 0.129 269.9)
XYZxyz(3.6847, 2.4299, 14.7399)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17226D #6D6217
analogous
#174D6D #17226D #37176D
triadic
#17226D #6D1722 #226D17
tetradic
#17226D #6D174D #6D6217 #176D37
square
#17226D #6D174D #6D6217 #176D37
split-complementary
#17226D #6D3717 #4D6D17
monochromatic
#050819 #0C123A #17226D #2232A0 #2C42D2

Accessibility & contrast

On white

14.13
#17226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17226D
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17226D#FFFFFF#000000##FFFFFF
##17226D1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17226d;
/* rgb */ color: rgb(23, 34, 109);
/* oklch */ color: oklch(29.9% 0.129 269.9);
Tailwind
colors: {
  custom: {
    50: '#635d98',
    500: '#17226d',
    950: '#000000',
  },
}
SCSS
$custom: #17226d;
$custom-light: #635d98;
$custom-dark: #000000;
JSON
{
  "hex": "#17226d",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 232.326,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29939,
    "c": 0.12947,
    "h": 269.9
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#17226D
secondary
#A3963D
accent
#D340E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17226D

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

Preview Lab → · Contrast checker → · Palette generator →

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