#17224F#17224F

#17224F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.084 H 269.7°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#17224F
RGBrgb(23, 34, 79)
HSLhsl(228, 55%, 20%)
HSVhsv(228, 71%, 31%)
CMYKcmyk(70.9%, 57%, 0%, 69%)
CIE-LABlab(14.90, 12.18, -29.20)
CIE-LCHlch(14.90, 31.64, 292.64°)
OKLaboklab(27.09% -0.0004 -0.0838)
OKLCHoklch(27.09% 0.084 269.7)
XYZxyz(2.3362, 1.8905, 7.6374)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17224F #4F4417
analogous
#173E4F #17224F #28174F
triadic
#17224F #4F1722 #224F17
tetradic
#17224F #4F173E #4F4417 #174F28
square
#17224F #4F173E #4F4417 #174F28
split-complementary
#17224F #4F2817 #3E4F17
monochromatic
#070A18 #090E20 #17224F #25367E #334BAE

Accessibility & contrast

On white

15.24
#17224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#17224F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17224F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17224F#FFFFFF#000000##FFFFFF
##17224F1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072851
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17224f;
/* rgb */ color: rgb(23, 34, 79);
/* oklch */ color: oklch(27.1% 0.084 269.7);
Tailwind
colors: {
  custom: {
    50: '#5b5c81',
    500: '#17224f',
    950: '#000000',
  },
}
SCSS
$custom: #17224f;
$custom-light: #5b5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#17224f",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 228.214,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.27094,
    "c": 0.08378,
    "h": 269.7
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#17224F
secondary
#86783C
accent
#C14ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17224F

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

Preview Lab → · Contrast checker → · Palette generator →

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