#173074#173074

#173074 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.5% C 0.121 H 265.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#173074
RGBrgb(23, 48, 116)
HSLhsl(224, 67%, 27%)
HSVhsv(224, 80%, 45%)
CMYKcmyk(80.2%, 58.6%, 0%, 54.5%)
CIE-LABlab(22.15, 17.27, -41.85)
CIE-LCHlch(22.15, 45.28, 292.43°)
OKLaboklab(33.52% -0.0104 -0.1207)
OKLCHoklch(33.52% 0.121 265.1)
XYZxyz(4.5616, 3.5565, 16.9657)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173074 #745B17
analogous
#175F74 #173074 #2D1774
triadic
#173074 #741730 #307417
tetradic
#173074 #74175F #745B17 #17742D
square
#173074 #74175F #745B17 #17742D
split-complementary
#173074 #742D17 #5F7417
monochromatic
#050B1A #0D1B41 #173074 #2145A7 #305CD6

Accessibility & contrast

On white

12.27
#173074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173074
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173074#FFFFFF#000000##FFFFFF
##1730741.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173074;
/* rgb */ color: rgb(23, 48, 116);
/* oklch */ color: oklch(33.5% 0.121 265.1);
Tailwind
colors: {
  custom: {
    50: '#64679d',
    500: '#173074',
    950: '#000000',
  },
}
SCSS
$custom: #173074;
$custom-light: #64679d;
$custom-dark: #000000;
JSON
{
  "hex": "#173074",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 223.871,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33515,
    "c": 0.12118,
    "h": 265.1
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#173074
secondary
#A98C3D
accent
#BC3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173074

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

Preview Lab → · Contrast checker → · Palette generator →

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