#17224B#17224B

#17224B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.077 H 269.3°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#17224B
RGBrgb(23, 34, 75)
HSLhsl(227, 53%, 19%)
HSVhsv(227, 69%, 29%)
CMYKcmyk(69.3%, 54.7%, 0%, 70.6%)
CIE-LABlab(14.59, 10.53, -26.97)
CIE-LCHlch(14.59, 28.95, 291.32°)
OKLaboklab(26.76% -0.0009 -0.0772)
OKLCHoklch(26.76% 0.077 269.3)
XYZxyz(2.1949, 1.8340, 6.8936)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17224B #4B4017
analogous
#173C4B #17224B #26174B
triadic
#17224B #4B1722 #224B17
tetradic
#17224B #4B173C #4B4017 #174B26
square
#17224B #4B173C #4B4017 #174B26
split-complementary
#17224B #4B2617 #3C4B17
monochromatic
#070B17 #090D1C #17224B #25377A #344CA9

Accessibility & contrast

On white

15.36
#17224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#17224B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17224B
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17224B#FFFFFF#000000##FFFFFF
##17224B1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274C
Deuteranopia (green-blind)
#03234A
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17224b;
/* rgb */ color: rgb(23, 34, 75);
/* oklch */ color: oklch(26.8% 0.077 269.3);
Tailwind
colors: {
  custom: {
    50: '#5a5c7d',
    500: '#17224b',
    950: '#000000',
  },
}
SCSS
$custom: #17224b;
$custom-light: #5a5c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#17224b",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 227.308,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26759,
    "c": 0.07722,
    "h": 269.3
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#17224B
secondary
#82733C
accent
#BE4BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17224B

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

Preview Lab → · Contrast checker → · Palette generator →

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