#173470#173470

#173470 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.110 H 262.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#173470
RGBrgb(23, 52, 112)
HSLhsl(220, 66%, 26%)
HSVhsv(220, 79%, 44%)
CMYKcmyk(79.5%, 53.6%, 0%, 56.1%)
CIE-LABlab(23.02, 12.74, -37.87)
CIE-LCHlch(23.02, 39.95, 288.59°)
OKLaboklab(34.08% -0.0141 -0.1089)
OKLCHoklch(34.08% 0.11 262.6)
XYZxyz(4.5049, 3.8075, 15.8236)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173470 #705317
analogous
#176170 #173470 #261770
triadic
#173470 #701734 #347017
tetradic
#173470 #701761 #705317 #177026
square
#173470 #701761 #705317 #177026
split-complementary
#173470 #702617 #617017
monochromatic
#050C19 #0D1C3D #173470 #214CA3 #2D64D4

Accessibility & contrast

On white

11.92
#173470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173470
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173470#FFFFFF#000000##FFFFFF
##1734701.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B72
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173470;
/* rgb */ color: rgb(23, 52, 112);
/* oklch */ color: oklch(34.1% 0.110 262.6);
Tailwind
colors: {
  custom: {
    50: '#636a99',
    500: '#173470',
    950: '#000000',
  },
}
SCSS
$custom: #173470;
$custom-light: #636a99;
$custom-dark: #000000;
JSON
{
  "hex": "#173470",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 112
  },
  "hsl": {
    "h": 220.449,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34079,
    "c": 0.10985,
    "h": 262.6
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#173470
secondary
#A6843D
accent
#B13FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173470

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

Preview Lab → · Contrast checker → · Palette generator →

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