#173995#173995

#173995 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.156 H 264.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#173995
RGBrgb(23, 57, 149)
HSLhsl(224, 73%, 34%)
HSVhsv(224, 85%, 58%)
CMYKcmyk(84.6%, 61.7%, 0%, 41.6%)
CIE-LABlab(27.51, 24.40, -53.76)
CIE-LCHlch(27.51, 59.03, 294.41°)
OKLaboklab(38.42% -0.015 -0.1555)
OKLCHoklch(38.42% 0.156 264.5)
XYZxyz(7.2394, 5.2775, 29.0650)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173995 #957317
analogous
#177895 #173995 #341795
triadic
#173995 #951739 #399517
tetradic
#173995 #951778 #957317 #179534
square
#173995 #951778 #957317 #179534
split-complementary
#173995 #953417 #789517
monochromatic
#07102B #0F2560 #173995 #1F4DCA #446FE2

Accessibility & contrast

On white

10.22
#173995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#173995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173995
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173995#FFFFFF#000000##FFFFFF
##1739951.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173995;
/* rgb */ color: rgb(23, 57, 149);
/* oklch */ color: oklch(38.4% 0.156 264.5);
Tailwind
colors: {
  custom: {
    50: '#6c6eb5',
    500: '#173995',
    950: '#000000',
  },
}
SCSS
$custom: #173995;
$custom-light: #6c6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#173995",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 223.81,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.15626,
    "h": 264.5
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#173995
secondary
#C3A145
accent
#BE38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173995

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

Preview Lab → · Contrast checker → · Palette generator →

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