#173180#173180

#173180 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.137 H 265.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#173180
RGBrgb(23, 49, 128)
HSLhsl(225, 70%, 30%)
HSVhsv(225, 82%, 50%)
CMYKcmyk(82%, 61.7%, 0%, 49.8%)
CIE-LABlab(23.46, 21.49, -47.33)
CIE-LCHlch(23.46, 51.98, 294.42°)
OKLaboklab(34.82% -0.0105 -0.1368)
OKLCHoklch(34.82% 0.137 265.6)
XYZxyz(5.3466, 3.9367, 20.8960)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173180 #806617
analogous
#176680 #173180 #321780
triadic
#173180 #801731 #318017
tetradic
#173180 #801766 #806617 #178032
square
#173180 #801766 #806617 #178032
split-complementary
#173180 #803217 #668017
monochromatic
#050A1A #0E1D4C #173180 #2045B4 #365FDB

Accessibility & contrast

On white

11.75
#173180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#173180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173180
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173180#FFFFFF#000000##FFFFFF
##1731801.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173180;
/* rgb */ color: rgb(23, 49, 128);
/* oklch */ color: oklch(34.8% 0.137 265.6);
Tailwind
colors: {
  custom: {
    50: '#6768a6',
    500: '#173180',
    950: '#000000',
  },
}
SCSS
$custom: #173180;
$custom-light: #6768a6;
$custom-dark: #000000;
JSON
{
  "hex": "#173180",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 225.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34821,
    "c": 0.13722,
    "h": 265.6
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#173180
secondary
#B4973E
accent
#C13BEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #173180

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

Preview Lab → · Contrast checker → · Palette generator →

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