#172E6E#172E6E

#172E6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.115 H 265.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#172E6E
RGBrgb(23, 46, 110)
HSLhsl(224, 65%, 26%)
HSVhsv(224, 79%, 43%)
CMYKcmyk(79.1%, 58.2%, 0%, 56.9%)
CIE-LABlab(21.06, 16.23, -39.76)
CIE-LCHlch(21.06, 42.94, 292.20°)
OKLaboklab(32.54% -0.0092 -0.1146)
OKLCHoklch(32.54% 0.115 265.4)
XYZxyz(4.1438, 3.2615, 15.1600)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E6E #6E5717
analogous
#17596E #172E6E #2B176E
triadic
#172E6E #6E172E #2E6E17
tetradic
#172E6E #6E1759 #6E5717 #176E2B
square
#172E6E #6E1759 #6E5717 #176E2B
split-complementary
#172E6E #6E2B17 #596E17
monochromatic
#050B19 #0C193B #172E6E #2243A1 #2C58D3

Accessibility & contrast

On white

12.71
#172E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#172E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E6E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E6E#FFFFFF#000000##FFFFFF
##172E6E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #172e6e;
/* rgb */ color: rgb(23, 46, 110);
/* oklch */ color: oklch(32.5% 0.115 265.4);
Tailwind
colors: {
  custom: {
    50: '#636698',
    500: '#172e6e',
    950: '#000000',
  },
}
SCSS
$custom: #172e6e;
$custom-light: #636698;
$custom-dark: #000000;
JSON
{
  "hex": "#172e6e",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 224.138,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32541,
    "c": 0.115,
    "h": 265.4
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#172E6E
secondary
#A4893D
accent
#BC3FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #172E6E

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

Preview Lab → · Contrast checker → · Palette generator →

#172E6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva