#173670#173670

#173670 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.107 H 261.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#173670
RGBrgb(23, 54, 112)
HSLhsl(219, 66%, 26%)
HSVhsv(219, 79%, 44%)
CMYKcmyk(79.5%, 51.8%, 0%, 56.1%)
CIE-LABlab(23.64, 11.31, -36.88)
CIE-LCHlch(23.64, 38.57, 287.05°)
OKLaboklab(34.55% -0.0158 -0.106)
OKLCHoklch(34.55% 0.107 261.5)
XYZxyz(4.5961, 3.9898, 15.8540)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173670 #705117
analogous
#176370 #173670 #251770
triadic
#173670 #701736 #367017
tetradic
#173670 #701763 #705117 #177025
square
#173670 #701763 #705117 #177025
split-complementary
#173670 #702517 #637017
monochromatic
#050C19 #0D1E3D #173670 #214EA3 #2D67D4

Accessibility & contrast

On white

11.68
#173670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173670
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173670#FFFFFF#000000##FFFFFF
##1736701.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173670;
/* rgb */ color: rgb(23, 54, 112);
/* oklch */ color: oklch(34.5% 0.107 261.5);
Tailwind
colors: {
  custom: {
    50: '#636c99',
    500: '#173670',
    950: '#000000',
  },
}
SCSS
$custom: #173670;
$custom-light: #636c99;
$custom-dark: #000000;
JSON
{
  "hex": "#173670",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 112
  },
  "hsl": {
    "h": 219.101,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34547,
    "c": 0.10717,
    "h": 261.5
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#173670
secondary
#A6813D
accent
#AE3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173670

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

Preview Lab → · Contrast checker → · Palette generator →

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