#17226F#17226F

#17226F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.132 H 269.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#17226F
RGBrgb(23, 34, 111)
HSLhsl(233, 66%, 26%)
HSVhsv(233, 79%, 44%)
CMYKcmyk(79.3%, 69.4%, 0%, 56.5%)
CIE-LABlab(17.80, 25.19, -45.73)
CIE-LCHlch(17.80, 52.21, 298.85°)
OKLaboklab(30.15% -0.0004 -0.1323)
OKLCHoklch(30.15% 0.132 269.8)
XYZxyz(3.7936, 2.4735, 15.3133)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17226F #6F6417
analogous
#174E6F #17226F #38176F
triadic
#17226F #6F1722 #226F17
tetradic
#17226F #6F174E #6F6417 #176F38
square
#17226F #6F174E #6F6417 #176F38
split-complementary
#17226F #6F3817 #4E6F17
monochromatic
#050819 #0C123C #17226F #2232A2 #2D42D3

Accessibility & contrast

On white

14.05
#17226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17226F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17226F#FFFFFF#000000##FFFFFF
##17226F1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17226f;
/* rgb */ color: rgb(23, 34, 111);
/* oklch */ color: oklch(30.1% 0.132 269.8);
Tailwind
colors: {
  custom: {
    50: '#645d99',
    500: '#17226f',
    950: '#000000',
  },
}
SCSS
$custom: #17226f;
$custom-light: #645d99;
$custom-dark: #000000;
JSON
{
  "hex": "#17226f",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 232.5,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30146,
    "c": 0.13231,
    "h": 269.8
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#17226F
secondary
#A5983D
accent
#D33FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17226F

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

Preview Lab → · Contrast checker → · Palette generator →

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