#172676#172676

#172676 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.137 H 268.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#172676
RGBrgb(23, 38, 118)
HSLhsl(231, 67%, 28%)
HSVhsv(231, 81%, 46%)
CMYKcmyk(80.5%, 67.8%, 0%, 53.7%)
CIE-LABlab(19.54, 25.18, -47.39)
CIE-LCHlch(19.54, 53.66, 297.99°)
OKLaboklab(31.63% -0.0033 -0.1371)
OKLCHoklch(31.63% 0.137 268.6)
XYZxyz(4.3153, 2.8759, 17.4637)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172676 #766717
analogous
#175676 #172676 #371776
triadic
#172676 #761726 #267617
tetradic
#172676 #761756 #766717 #177637
square
#172676 #761756 #766717 #177637
split-complementary
#172676 #763717 #567617
monochromatic
#05081A #0D1643 #172676 #2136A9 #314BD7

Accessibility & contrast

On white

13.33
#172676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#172676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172676
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172676#FFFFFF#000000##FFFFFF
##1726761.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172676;
/* rgb */ color: rgb(23, 38, 118);
/* oklch */ color: oklch(31.6% 0.137 268.6);
Tailwind
colors: {
  custom: {
    50: '#65609e',
    500: '#172676',
    950: '#000000',
  },
}
SCSS
$custom: #172676;
$custom-light: #65609e;
$custom-dark: #000000;
JSON
{
  "hex": "#172676",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 230.526,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31632,
    "c": 0.13716,
    "h": 268.6
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#172676
secondary
#AB9A3E
accent
#CF3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172676

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

Preview Lab → · Contrast checker → · Palette generator →

#172676 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva