#173076#173076

#173076 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.124 H 265.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#173076
RGBrgb(23, 48, 118)
HSLhsl(224, 67%, 28%)
HSVhsv(224, 81%, 46%)
CMYKcmyk(80.5%, 59.3%, 0%, 53.7%)
CIE-LABlab(22.31, 18.10, -42.86)
CIE-LCHlch(22.31, 46.52, 292.90°)
OKLaboklab(33.69% -0.0102 -0.1237)
OKLCHoklch(33.69% 0.124 265.3)
XYZxyz(4.6792, 3.6035, 17.5850)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173076 #765D17
analogous
#175F76 #173076 #2E1776
triadic
#173076 #761730 #307617
tetradic
#173076 #76175F #765D17 #17762E
square
#173076 #76175F #765D17 #17762E
split-complementary
#173076 #762E17 #5F7617
monochromatic
#050A1A #0D1B43 #173076 #2145A9 #315CD7

Accessibility & contrast

On white

12.20
#173076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#173076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173076
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173076#FFFFFF#000000##FFFFFF
##1730761.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173076;
/* rgb */ color: rgb(23, 48, 118);
/* oklch */ color: oklch(33.7% 0.124 265.3);
Tailwind
colors: {
  custom: {
    50: '#65679e',
    500: '#173076',
    950: '#000000',
  },
}
SCSS
$custom: #173076;
$custom-light: #65679e;
$custom-dark: #000000;
JSON
{
  "hex": "#173076",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 224.211,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33694,
    "c": 0.12412,
    "h": 265.3
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#173076
secondary
#AB8E3E
accent
#BD3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173076

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

Preview Lab → · Contrast checker → · Palette generator →

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