#173266#173266

#173266 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.097 H 261.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#173266
RGBrgb(23, 50, 102)
HSLhsl(219, 63%, 25%)
HSVhsv(219, 77%, 40%)
CMYKcmyk(77.5%, 51%, 0%, 60%)
CIE-LABlab(21.66, 10.00, -33.61)
CIE-LCHlch(21.66, 35.06, 286.57°)
OKLaboklab(32.8% -0.0137 -0.0965)
OKLCHoklch(32.8% 0.097 261.9)
XYZxyz(3.8914, 3.4222, 13.0233)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173266 #664B17
analogous
#175A66 #173266 #241766
triadic
#173266 #661732 #326617
tetradic
#173266 #66175A #664B17 #176624
square
#173266 #66175A #664B17 #176624
split-complementary
#173266 #662417 #5A6617
monochromatic
#060C19 #0C1A34 #173266 #224A98 #2E63CA

Accessibility & contrast

On white

12.47
#173266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#173266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173266
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173266#FFFFFF#000000##FFFFFF
##1732661.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153868
Deuteranopia (green-blind)
#013165
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173266;
/* rgb */ color: rgb(23, 50, 102);
/* oklch */ color: oklch(32.8% 0.097 261.9);
Tailwind
colors: {
  custom: {
    50: '#606992',
    500: '#173266',
    950: '#000000',
  },
}
SCSS
$custom: #173266;
$custom-light: #606992;
$custom-dark: #000000;
JSON
{
  "hex": "#173266",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 219.494,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32799,
    "c": 0.09743,
    "h": 261.9
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#173266
secondary
#9C7C3C
accent
#AE42E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #173266

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

Preview Lab → · Contrast checker → · Palette generator →

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