#173070#173070

#173070 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.115 H 264.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#173070
RGBrgb(23, 48, 112)
HSLhsl(223, 66%, 26%)
HSVhsv(223, 79%, 44%)
CMYKcmyk(79.5%, 57.1%, 0%, 56.1%)
CIE-LABlab(21.82, 15.62, -39.82)
CIE-LCHlch(21.82, 42.77, 291.41°)
OKLaboklab(33.16% -0.0107 -0.1148)
OKLCHoklch(33.16% 0.115 264.7)
XYZxyz(4.3339, 3.4654, 15.7666)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173070 #705717
analogous
#175D70 #173070 #2B1770
triadic
#173070 #701730 #307017
tetradic
#173070 #70175D #705717 #17702B
square
#173070 #70175D #705717 #17702B
split-complementary
#173070 #702B17 #5D7017
monochromatic
#050B19 #0D1A3D #173070 #2146A3 #2D5CD4

Accessibility & contrast

On white

12.40
#173070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#173070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173070
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173070#FFFFFF#000000##FFFFFF
##1730701.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173070;
/* rgb */ color: rgb(23, 48, 112);
/* oklch */ color: oklch(33.2% 0.115 264.7);
Tailwind
colors: {
  custom: {
    50: '#63679a',
    500: '#173070',
    950: '#000000',
  },
}
SCSS
$custom: #173070;
$custom-light: #63679a;
$custom-dark: #000000;
JSON
{
  "hex": "#173070",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 112
  },
  "hsl": {
    "h": 223.146,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.11526,
    "h": 264.7
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#173070
secondary
#A6883D
accent
#B93FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173070

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

Preview Lab → · Contrast checker → · Palette generator →

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