#173768#173768

#173768 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.094 H 258.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#173768
RGBrgb(23, 55, 104)
HSLhsl(216, 64%, 25%)
HSVhsv(216, 78%, 41%)
CMYKcmyk(77.9%, 47.1%, 0%, 59.2%)
CIE-LABlab(23.38, 7.26, -32.14)
CIE-LCHlch(23.38, 32.95, 282.72°)
OKLaboklab(34.17% -0.0182 -0.092)
OKLCHoklch(34.17% 0.094 258.8)
XYZxyz(4.2173, 3.9135, 13.6271)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173768 #684817
analogous
#176068 #173768 #1F1768
triadic
#173768 #681737 #376817
tetradic
#173768 #681760 #684817 #17681F
square
#173768 #681760 #684817 #17681F
split-complementary
#173768 #681F17 #606817
monochromatic
#060D19 #0C1C36 #173768 #22529A #2D6CCC

Accessibility & contrast

On white

11.78
#173768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173768
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173768#FFFFFF#000000##FFFFFF
##1737681.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3C6A
Deuteranopia (green-blind)
#0E3467
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173768;
/* rgb */ color: rgb(23, 55, 104);
/* oklch */ color: oklch(34.2% 0.094 258.8);
Tailwind
colors: {
  custom: {
    50: '#616d93',
    500: '#173768',
    950: '#000000',
  },
}
SCSS
$custom: #173768;
$custom-light: #616d93;
$custom-dark: #000000;
JSON
{
  "hex": "#173768",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 104
  },
  "hsl": {
    "h": 216.296,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34169,
    "c": 0.09381,
    "h": 258.8
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#173768
secondary
#9E783D
accent
#A541E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #173768

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

Preview Lab → · Contrast checker → · Palette generator →

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