#173B6E#173B6E

#173B6E is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.098 H 257.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#173B6E
RGBrgb(23, 59, 110)
HSLhsl(215, 65%, 26%)
HSVhsv(215, 79%, 43%)
CMYKcmyk(79.1%, 46.4%, 0%, 56.9%)
CIE-LABlab(25.06, 6.93, -33.31)
CIE-LCHlch(25.06, 34.02, 281.76°)
OKLaboklab(35.6% -0.0208 -0.0954)
OKLCHoklch(35.6% 0.098 257.7)
XYZxyz(4.7308, 4.4353, 15.3556)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B6E #6E4A17
analogous
#17666E #173B6E #1E176E
triadic
#173B6E #6E173B #3B6E17
tetradic
#173B6E #6E1766 #6E4A17 #176E1E
square
#173B6E #6E1766 #6E4A17 #176E1E
split-complementary
#173B6E #6E1E17 #666E17
monochromatic
#050E19 #0C203B #173B6E #2256A1 #2C71D3

Accessibility & contrast

On white

11.13
#173B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#173B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B6E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B6E#FFFFFF#000000##FFFFFF
##173B6E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214070
Deuteranopia (green-blind)
#10386D
Tritanopia (blue-blind)
#00474F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173b6e;
/* rgb */ color: rgb(23, 59, 110);
/* oklch */ color: oklch(35.6% 0.098 257.7);
Tailwind
colors: {
  custom: {
    50: '#627098',
    500: '#173b6e',
    950: '#000000',
  },
}
SCSS
$custom: #173b6e;
$custom-light: #627098;
$custom-dark: #000000;
JSON
{
  "hex": "#173b6e",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 110
  },
  "hsl": {
    "h": 215.172,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35597,
    "c": 0.09763,
    "h": 257.7
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#173B6E
secondary
#A4793D
accent
#A23FE8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173B6E

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

Preview Lab → · Contrast checker → · Palette generator →

#173B6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva