#173868#173868

#173868 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.093 H 258.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#173868
RGBrgb(23, 56, 104)
HSLhsl(216, 64%, 25%)
HSVhsv(216, 78%, 41%)
CMYKcmyk(77.9%, 46.2%, 0%, 59.2%)
CIE-LABlab(23.70, 6.55, -31.63)
CIE-LCHlch(23.70, 32.30, 281.70°)
OKLaboklab(34.42% -0.0192 -0.0905)
OKLCHoklch(34.42% 0.093 258)
XYZxyz(4.2653, 4.0095, 13.6431)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173868 #684717
analogous
#176068 #173868 #1F1768
triadic
#173868 #681738 #386817
tetradic
#173868 #681760 #684717 #17681F
square
#173868 #681760 #684717 #17681F
split-complementary
#173868 #681F17 #606817
monochromatic
#060D19 #0C1D36 #173868 #22539A #2D6ECC

Accessibility & contrast

On white

11.65
#173868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#173868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173868
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173868#FFFFFF#000000##FFFFFF
##1738681.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#113567
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173868;
/* rgb */ color: rgb(23, 56, 104);
/* oklch */ color: oklch(34.4% 0.093 258.0);
Tailwind
colors: {
  custom: {
    50: '#606e93',
    500: '#173868',
    950: '#000000',
  },
}
SCSS
$custom: #173868;
$custom-light: #606e93;
$custom-dark: #000000;
JSON
{
  "hex": "#173868",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 104
  },
  "hsl": {
    "h": 215.556,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34416,
    "c": 0.09252,
    "h": 258
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#173868
secondary
#9E763D
accent
#A341E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #173868

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

Preview Lab → · Contrast checker → · Palette generator →

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