#17264E#17264E

#17264E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.076 H 266.1°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#17264E
RGBrgb(23, 38, 78)
HSLhsl(224, 54%, 20%)
HSVhsv(224, 71%, 31%)
CMYKcmyk(70.5%, 51.3%, 0%, 69.4%)
CIE-LABlab(16.10, 8.77, -26.60)
CIE-LCHlch(16.10, 28.01, 288.25°)
OKLaboklab(27.98% -0.0051 -0.0761)
OKLCHoklch(27.98% 0.076 266.1)
XYZxyz(2.4211, 2.1182, 7.4875)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17264E #4E3F17
analogous
#17424E #17264E #23174E
triadic
#17264E #4E1726 #264E17
tetradic
#17264E #4E1742 #4E3F17 #174E23
square
#17264E #4E1742 #4E3F17 #174E23
split-complementary
#17264E #4E2317 #424E17
monochromatic
#070C18 #090F1F #17264E #253D7D #3354AD

Accessibility & contrast

On white

14.75
#17264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#17264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17264E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17264E#FFFFFF#000000##FFFFFF
##17264E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B4F
Deuteranopia (green-blind)
#08264D
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17264e;
/* rgb */ color: rgb(23, 38, 78);
/* oklch */ color: oklch(28.0% 0.076 266.1);
Tailwind
colors: {
  custom: {
    50: '#5b5f80',
    500: '#17264e',
    950: '#000000',
  },
}
SCSS
$custom: #17264e;
$custom-light: #5b5f80;
$custom-dark: #000000;
JSON
{
  "hex": "#17264e",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 223.636,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27977,
    "c": 0.07624,
    "h": 266.1
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#17264E
secondary
#85713C
accent
#B54ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17264E

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

Preview Lab → · Contrast checker → · Palette generator →

#17264E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva