#17264C#17264C

#17264C is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.073 H 265.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#17264C
RGBrgb(23, 38, 76)
HSLhsl(223, 54%, 19%)
HSVhsv(223, 70%, 30%)
CMYKcmyk(69.7%, 50%, 0%, 70.2%)
CIE-LABlab(15.95, 7.95, -25.47)
CIE-LCHlch(15.95, 26.68, 287.33°)
OKLaboklab(27.82% -0.0055 -0.0727)
OKLCHoklch(27.82% 0.073 265.7)
XYZxyz(2.3505, 2.0900, 7.1156)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17264C #4C3D17
analogous
#17414C #17264C #23174C
triadic
#17264C #4C1726 #264C17
tetradic
#17264C #4C1741 #4C3D17 #174C23
square
#17264C #4C1741 #4C3D17 #174C23
split-complementary
#17264C #4C2317 #414C17
monochromatic
#070C17 #090F1D #17264C #253D7B #3355AA

Accessibility & contrast

On white

14.81
#17264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17264C
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17264C#FFFFFF#000000##FFFFFF
##17264C1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4D
Deuteranopia (green-blind)
#0B254B
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17264c;
/* rgb */ color: rgb(23, 38, 76);
/* oklch */ color: oklch(27.8% 0.073 265.7);
Tailwind
colors: {
  custom: {
    50: '#5a5f7e',
    500: '#17264c',
    950: '#000000',
  },
}
SCSS
$custom: #17264c;
$custom-light: #5a5f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#17264c",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 223.019,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27822,
    "c": 0.07295,
    "h": 265.7
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#17264C
secondary
#836F3C
accent
#B44BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17264C

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

Preview Lab → · Contrast checker → · Palette generator →

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