#173974#173974

#173974 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.109 H 260.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#173974
RGBrgb(23, 57, 116)
HSLhsl(218, 67%, 27%)
HSVhsv(218, 80%, 45%)
CMYKcmyk(80.2%, 50.9%, 0%, 54.5%)
CIE-LABlab(24.86, 10.84, -37.47)
CIE-LCHlch(24.86, 39.01, 286.14°)
OKLaboklab(35.57% -0.0178 -0.1077)
OKLCHoklch(35.57% 0.109 260.6)
XYZxyz(4.9677, 4.3688, 17.1011)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173974 #745217
analogous
#176774 #173974 #241774
triadic
#173974 #741739 #397417
tetradic
#173974 #741767 #745217 #177424
square
#173974 #741767 #745217 #177424
split-complementary
#173974 #742417 #677417
monochromatic
#050D1A #0D2041 #173974 #2152A7 #306CD6

Accessibility & contrast

On white

11.21
#173974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#173974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173974
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173974#FFFFFF#000000##FFFFFF
##1739741.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173974;
/* rgb */ color: rgb(23, 57, 116);
/* oklch */ color: oklch(35.6% 0.109 260.6);
Tailwind
colors: {
  custom: {
    50: '#636e9c',
    500: '#173974',
    950: '#000000',
  },
}
SCSS
$custom: #173974;
$custom-light: #636e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#173974",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 218.065,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35573,
    "c": 0.10914,
    "h": 260.6
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#173974
secondary
#A9823D
accent
#AB3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173974

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

Preview Lab → · Contrast checker → · Palette generator →

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