#173166#173166

#173166 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.099 H 262.6°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#173166
RGBrgb(23, 49, 102)
HSLhsl(220, 63%, 25%)
HSVhsv(220, 77%, 40%)
CMYKcmyk(77.5%, 52%, 0%, 60%)
CIE-LABlab(21.35, 10.72, -34.11)
CIE-LCHlch(21.35, 35.76, 287.44°)
OKLaboklab(32.56% -0.0127 -0.098)
OKLCHoklch(32.56% 0.099 262.6)
XYZxyz(3.8491, 3.3377, 13.0092)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173166 #664C17
analogous
#175966 #173166 #251766
triadic
#173166 #661731 #316617
tetradic
#173166 #661759 #664C17 #176625
square
#173166 #661759 #664C17 #176625
split-complementary
#173166 #662517 #596617
monochromatic
#060C19 #0C1934 #173166 #224998 #2E61CA

Accessibility & contrast

On white

12.59
#173166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#173166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173166
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173166#FFFFFF#000000##FFFFFF
##1731661.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133768
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173166;
/* rgb */ color: rgb(23, 49, 102);
/* oklch */ color: oklch(32.6% 0.099 262.6);
Tailwind
colors: {
  custom: {
    50: '#606892',
    500: '#173166',
    950: '#000000',
  },
}
SCSS
$custom: #173166;
$custom-light: #606892;
$custom-dark: #000000;
JSON
{
  "hex": "#173166",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 220.253,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3256,
    "c": 0.09878,
    "h": 262.6
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#173166
secondary
#9C7D3C
accent
#B042E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #173166

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

Preview Lab → · Contrast checker → · Palette generator →

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