#173E6B#173E6B

#173E6B is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.1% C 0.090 H 254.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#173E6B
RGBrgb(23, 62, 107)
HSLhsl(212, 65%, 25%)
HSVhsv(212, 79%, 42%)
CMYKcmyk(78.5%, 42.1%, 0%, 58%)
CIE-LABlab(25.83, 3.60, -30.16)
CIE-LCHlch(25.83, 30.38, 276.81°)
OKLaboklab(36.13% -0.0245 -0.0861)
OKLCHoklch(36.13% 0.09 254.1)
XYZxyz(4.7288, 4.6884, 14.5628)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E6B #6B4417
analogous
#17686B #173E6B #1A176B
triadic
#173E6B #6B173E #3E6B17
tetradic
#173E6B #6B1768 #6B4417 #176B1A
square
#173E6B #6B1768 #6B4417 #176B1A
split-complementary
#173E6B #6B1A17 #686B17
monochromatic
#050F19 #0C2139 #173E6B #225B9D #2D78D0

Accessibility & contrast

On white

10.84
#173E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#173E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E6B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E6B#FFFFFF#000000##FFFFFF
##173E6B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29416D
Deuteranopia (green-blind)
#1B3A6A
Tritanopia (blue-blind)
#00494F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173e6b;
/* rgb */ color: rgb(23, 62, 107);
/* oklch */ color: oklch(36.1% 0.090 254.1);
Tailwind
colors: {
  custom: {
    50: '#617295',
    500: '#173e6b',
    950: '#000000',
  },
}
SCSS
$custom: #173e6b;
$custom-light: #617295;
$custom-dark: #000000;
JSON
{
  "hex": "#173e6b",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 107
  },
  "hsl": {
    "h": 212.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36129,
    "c": 0.08951,
    "h": 254.1
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#173E6B
secondary
#A1723D
accent
#9A40E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #173E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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