#17264A#17264A

#17264A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.7% C 0.070 H 265.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#17264A
RGBrgb(23, 38, 74)
HSLhsl(222, 53%, 19%)
HSVhsv(222, 69%, 29%)
CMYKcmyk(68.9%, 48.6%, 0%, 71%)
CIE-LABlab(15.81, 7.12, -24.33)
CIE-LCHlch(15.81, 25.35, 286.32°)
OKLaboklab(27.67% -0.0059 -0.0694)
OKLCHoklch(27.67% 0.07 265.1)
XYZxyz(2.2821, 2.0626, 6.7551)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17264A #4A3B17
analogous
#17404A #17264A #22174A
triadic
#17264A #4A1726 #264A17
tetradic
#17264A #4A1740 #4A3B17 #174A22
square
#17264A #4A1740 #4A3B17 #174A22
split-complementary
#17264A #4A2217 #404A17
monochromatic
#070C17 #080E1B #17264A #263E79 #3456A7

Accessibility & contrast

On white

14.87
#17264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17264A
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17264A#FFFFFF#000000##FFFFFF
##17264A1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4B
Deuteranopia (green-blind)
#0E2549
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17264a;
/* rgb */ color: rgb(23, 38, 74);
/* oklch */ color: oklch(27.7% 0.070 265.1);
Tailwind
colors: {
  custom: {
    50: '#5a5f7d',
    500: '#17264a',
    950: '#000000',
  },
}
SCSS
$custom: #17264a;
$custom-light: #5a5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#17264a",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 222.353,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27669,
    "c": 0.06963,
    "h": 265.1
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#17264A
secondary
#816D3C
accent
#B24CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #17264A

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

Preview Lab → · Contrast checker → · Palette generator →

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