#17224A#17224A

#17224A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.076 H 269.2°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#17224A
RGBrgb(23, 34, 74)
HSLhsl(227, 53%, 19%)
HSVhsv(227, 69%, 29%)
CMYKcmyk(68.9%, 54.1%, 0%, 71%)
CIE-LABlab(14.52, 10.12, -26.40)
CIE-LCHlch(14.52, 28.28, 290.96°)
OKLaboklab(26.68% -0.001 -0.0756)
OKLCHoklch(26.68% 0.076 269.2)
XYZxyz(2.1610, 1.8204, 6.7147)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17224A #4A3F17
analogous
#173C4A #17224A #26174A
triadic
#17224A #4A1722 #224A17
tetradic
#17224A #4A173C #4A3F17 #174A26
square
#17224A #4A173C #4A3F17 #174A26
split-complementary
#17224A #4A2617 #3C4A17
monochromatic
#070B17 #080D1B #17224A #263779 #344DA7

Accessibility & contrast

On white

15.39
#17224A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#17224A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17224A
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17224A#FFFFFF#000000##FFFFFF
##17224A1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274B
Deuteranopia (green-blind)
#042349
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17224a;
/* rgb */ color: rgb(23, 34, 74);
/* oklch */ color: oklch(26.7% 0.076 269.2);
Tailwind
colors: {
  custom: {
    50: '#5a5c7d',
    500: '#17224a',
    950: '#000000',
  },
}
SCSS
$custom: #17224a;
$custom-light: #5a5c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#17224a",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 227.059,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26677,
    "c": 0.07556,
    "h": 269.2
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#17224A
secondary
#81723C
accent
#BD4CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #17224A

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

Preview Lab → · Contrast checker → · Palette generator →

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