#17244F#17244F

#17244F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.081 H 268.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#17244F
RGBrgb(23, 36, 79)
HSLhsl(226, 55%, 20%)
HSVhsv(226, 71%, 31%)
CMYKcmyk(70.9%, 54.4%, 0%, 69%)
CIE-LABlab(15.53, 10.68, -28.19)
CIE-LCHlch(15.53, 30.15, 290.75°)
OKLaboklab(27.57% -0.0027 -0.0808)
OKLCHoklch(27.57% 0.081 268.1)
XYZxyz(2.3950, 2.0082, 7.6570)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17244F #4F4217
analogous
#17404F #17244F #26174F
triadic
#17244F #4F1724 #244F17
tetradic
#17244F #4F1740 #4F4217 #174F26
square
#17244F #4F1740 #4F4217 #174F26
split-complementary
#17244F #4F2617 #404F17
monochromatic
#070B18 #090E20 #17244F #253A7E #334FAE

Accessibility & contrast

On white

14.98
#17244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#17244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17244F
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17244F#FFFFFF#000000##FFFFFF
##17244F1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2951
Deuteranopia (green-blind)
#02244E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17244f;
/* rgb */ color: rgb(23, 36, 79);
/* oklch */ color: oklch(27.6% 0.081 268.1);
Tailwind
colors: {
  custom: {
    50: '#5b5e81',
    500: '#17244f',
    950: '#000000',
  },
}
SCSS
$custom: #17244f;
$custom-light: #5b5e81;
$custom-dark: #000000;
JSON
{
  "hex": "#17244f",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 226.071,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.2757,
    "c": 0.08081,
    "h": 268.1
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#17244F
secondary
#86753C
accent
#BC4ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17244F

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

Preview Lab → · Contrast checker → · Palette generator →

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