#173770#173770

#173770 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.106 H 260.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#173770
RGBrgb(23, 55, 112)
HSLhsl(218, 66%, 26%)
HSVhsv(218, 79%, 44%)
CMYKcmyk(79.5%, 50.9%, 0%, 56.1%)
CIE-LABlab(23.95, 10.59, -36.38)
CIE-LCHlch(23.95, 37.89, 286.24°)
OKLaboklab(34.78% -0.0167 -0.1045)
OKLCHoklch(34.78% 0.106 260.9)
XYZxyz(4.6431, 4.0839, 15.8696)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173770 #705017
analogous
#176470 #173770 #241770
triadic
#173770 #701737 #377017
tetradic
#173770 #701764 #705017 #177024
square
#173770 #701764 #705017 #177024
split-complementary
#173770 #702417 #647017
monochromatic
#050C19 #0D1E3D #173770 #2150A3 #2D69D4

Accessibility & contrast

On white

11.56
#173770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#173770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173770
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173770#FFFFFF#000000##FFFFFF
##1737701.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173770;
/* rgb */ color: rgb(23, 55, 112);
/* oklch */ color: oklch(34.8% 0.106 260.9);
Tailwind
colors: {
  custom: {
    50: '#636d99',
    500: '#173770',
    950: '#000000',
  },
}
SCSS
$custom: #173770;
$custom-light: #636d99;
$custom-dark: #000000;
JSON
{
  "hex": "#173770",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 218.427,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.10584,
    "h": 260.9
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#173770
secondary
#A6803D
accent
#AC3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173770

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

Preview Lab → · Contrast checker → · Palette generator →

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