#173194#173194

#173194 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.165 H 266.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#173194
RGBrgb(23, 49, 148)
HSLhsl(228, 73%, 34%)
HSVhsv(228, 84%, 58%)
CMYKcmyk(84.5%, 66.9%, 0%, 42%)
CIE-LABlab(25.31, 29.46, -56.75)
CIE-LCHlch(25.31, 63.94, 297.44°)
OKLaboklab(36.76% -0.0107 -0.1644)
OKLCHoklch(36.76% 0.165 266.3)
XYZxyz(6.7951, 4.5161, 28.5248)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173194 #947A17
analogous
#176F94 #173194 #3B1794
triadic
#173194 #941731 #319417
tetradic
#173194 #94176F #947A17 #17943B
square
#173194 #94176F #947A17 #17943B
split-complementary
#173194 #943B17 #6F9417
monochromatic
#070E2A #0F1F5F #173194 #1F43C9 #4464E2

Accessibility & contrast

On white

11.03
#173194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#173194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173194
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173194#FFFFFF#000000##FFFFFF
##1731941.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173194;
/* rgb */ color: rgb(23, 49, 148);
/* oklch */ color: oklch(36.8% 0.165 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d69b4',
    500: '#173194',
    950: '#000000',
  },
}
SCSS
$custom: #173194;
$custom-light: #6d69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#173194",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 227.52,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.16475,
    "h": 266.3
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#173194
secondary
#C3A844
accent
#CA38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173194

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

Preview Lab → · Contrast checker → · Palette generator →

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