#173366#173366

#173366 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.096 H 261.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#173366
RGBrgb(23, 51, 102)
HSLhsl(219, 63%, 25%)
HSVhsv(219, 77%, 40%)
CMYKcmyk(77.5%, 50%, 0%, 60%)
CIE-LABlab(21.98, 9.28, -33.10)
CIE-LCHlch(21.98, 34.38, 285.65°)
OKLaboklab(33.04% -0.0147 -0.095)
OKLCHoklch(33.04% 0.096 261.2)
XYZxyz(3.9346, 3.5087, 13.0377)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173366 #664A17
analogous
#175B66 #173366 #231766
triadic
#173366 #661733 #336617
tetradic
#173366 #66175B #664A17 #176623
square
#173366 #66175B #664A17 #176623
split-complementary
#173366 #662317 #5B6617
monochromatic
#060C19 #0C1A34 #173366 #224C98 #2E65CA

Accessibility & contrast

On white

12.34
#173366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#173366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173366
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173366#FFFFFF#000000##FFFFFF
##1733661.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183868
Deuteranopia (green-blind)
#043165
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173366;
/* rgb */ color: rgb(23, 51, 102);
/* oklch */ color: oklch(33.0% 0.096 261.2);
Tailwind
colors: {
  custom: {
    50: '#606a92',
    500: '#173366',
    950: '#000000',
  },
}
SCSS
$custom: #173366;
$custom-light: #606a92;
$custom-dark: #000000;
JSON
{
  "hex": "#173366",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 218.734,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.09608,
    "h": 261.2
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#173366
secondary
#9C7A3C
accent
#AC42E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #173366

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

Preview Lab → · Contrast checker → · Palette generator →

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