#17264D#17264D

#17264D is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.075 H 265.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#17264D
RGBrgb(23, 38, 77)
HSLhsl(223, 54%, 20%)
HSVhsv(223, 70%, 30%)
CMYKcmyk(70.1%, 50.6%, 0%, 69.8%)
CIE-LABlab(16.02, 8.36, -26.04)
CIE-LCHlch(16.02, 27.35, 287.80°)
OKLaboklab(27.9% -0.0053 -0.0744)
OKLCHoklch(27.9% 0.075 265.9)
XYZxyz(2.3856, 2.1040, 7.3001)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17264D #4D3E17
analogous
#17414D #17264D #23174D
triadic
#17264D #4D1726 #264D17
tetradic
#17264D #4D1741 #4D3E17 #174D23
square
#17264D #4D1741 #4D3E17 #174D23
split-complementary
#17264D #4D2317 #414D17
monochromatic
#070C18 #090F1E #17264D #253D7C #3355AB

Accessibility & contrast

On white

14.78
#17264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17264D
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17264D#FFFFFF#000000##FFFFFF
##17264D1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4E
Deuteranopia (green-blind)
#0A264C
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17264d;
/* rgb */ color: rgb(23, 38, 77);
/* oklch */ color: oklch(27.9% 0.075 265.9);
Tailwind
colors: {
  custom: {
    50: '#5b5f7f',
    500: '#17264d',
    950: '#000000',
  },
}
SCSS
$custom: #17264d;
$custom-light: #5b5f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#17264d",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 223.333,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27899,
    "c": 0.07459,
    "h": 265.9
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#17264D
secondary
#84703C
accent
#B54ADD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17264D

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

Preview Lab → · Contrast checker → · Palette generator →

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