#173367#173367

#173367 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.098 H 261.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#173367
RGBrgb(23, 51, 103)
HSLhsl(219, 63%, 25%)
HSVhsv(219, 78%, 40%)
CMYKcmyk(77.7%, 50.5%, 0%, 59.6%)
CIE-LABlab(22.05, 9.70, -33.64)
CIE-LCHlch(22.05, 35.01, 286.08°)
OKLaboklab(33.12% -0.0145 -0.0965)
OKLCHoklch(33.12% 0.098 261.5)
XYZxyz(3.9845, 3.5286, 13.3004)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173367 #674B17
analogous
#175B67 #173367 #231767
triadic
#173367 #671733 #336717
tetradic
#173367 #67175B #674B17 #176723
square
#173367 #67175B #674B17 #176723
split-complementary
#173367 #672317 #5B6717
monochromatic
#060C19 #0C1A35 #173367 #224C99 #2D65CB

Accessibility & contrast

On white

12.31
#173367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173367
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173367#FFFFFF#000000##FFFFFF
##1733671.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173969
Deuteranopia (green-blind)
#023166
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173367;
/* rgb */ color: rgb(23, 51, 103);
/* oklch */ color: oklch(33.1% 0.098 261.5);
Tailwind
colors: {
  custom: {
    50: '#606a93',
    500: '#173367',
    950: '#000000',
  },
}
SCSS
$custom: #173367;
$custom-light: #606a93;
$custom-dark: #000000;
JSON
{
  "hex": "#173367",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 219,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33119,
    "c": 0.0976,
    "h": 261.5
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#173367
secondary
#9D7B3D
accent
#AD41E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #173367

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

Preview Lab → · Contrast checker → · Palette generator →

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