#173066#173066

#173066 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.100 H 263.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#173066
RGBrgb(23, 48, 102)
HSLhsl(221, 63%, 25%)
HSVhsv(221, 77%, 40%)
CMYKcmyk(77.5%, 52.9%, 0%, 60%)
CIE-LABlab(21.04, 11.44, -34.61)
CIE-LCHlch(21.04, 36.45, 288.29°)
OKLaboklab(32.32% -0.0118 -0.0994)
OKLCHoklch(32.32% 0.1 263.2)
XYZxyz(3.8077, 3.2550, 12.9954)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173066 #664D17
analogous
#175866 #173066 #261766
triadic
#173066 #661730 #306617
tetradic
#173066 #661758 #664D17 #176626
square
#173066 #661758 #664D17 #176626
split-complementary
#173066 #662617 #586617
monochromatic
#060C19 #0C1834 #173066 #224898 #2E5FCA

Accessibility & contrast

On white

12.72
#173066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#173066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173066
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173066#FFFFFF#000000##FFFFFF
##1730661.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103668
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173066;
/* rgb */ color: rgb(23, 48, 102);
/* oklch */ color: oklch(32.3% 0.100 263.2);
Tailwind
colors: {
  custom: {
    50: '#606792',
    500: '#173066',
    950: '#000000',
  },
}
SCSS
$custom: #173066;
$custom-light: #606792;
$custom-dark: #000000;
JSON
{
  "hex": "#173066",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 102
  },
  "hsl": {
    "h": 221.013,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.10015,
    "h": 263.2
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#173066
secondary
#9C7E3C
accent
#B242E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #173066

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

Preview Lab → · Contrast checker → · Palette generator →

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