#173780#173780

#173780 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.129 H 263.4°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#173780
RGBrgb(23, 55, 128)
HSLhsl(222, 70%, 30%)
HSVhsv(222, 82%, 50%)
CMYKcmyk(82%, 57%, 0%, 49.8%)
CIE-LABlab(25.18, 17.25, -44.53)
CIE-LCHlch(25.18, 47.76, 291.17°)
OKLaboklab(36.11% -0.0148 -0.1285)
OKLCHoklch(36.11% 0.129 263.4)
XYZxyz(5.6144, 4.4724, 20.9852)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173780 #806017
analogous
#176C80 #173780 #2B1780
triadic
#173780 #801737 #378017
tetradic
#173780 #80176C #806017 #17802B
square
#173780 #80176C #806017 #17802B
split-complementary
#173780 #802B17 #6C8017
monochromatic
#050B1A #0E214C #173780 #204DB4 #3669DB

Accessibility & contrast

On white

11.08
#173780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#173780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173780
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173780#FFFFFF#000000##FFFFFF
##1737801.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173780;
/* rgb */ color: rgb(23, 55, 128);
/* oklch */ color: oklch(36.1% 0.129 263.4);
Tailwind
colors: {
  custom: {
    50: '#676da5',
    500: '#173780',
    950: '#000000',
  },
}
SCSS
$custom: #173780;
$custom-light: #676da5;
$custom-dark: #000000;
JSON
{
  "hex": "#173780",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 221.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36109,
    "c": 0.12935,
    "h": 263.4
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#173780
secondary
#B4903E
accent
#B63BEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173780

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

Preview Lab → · Contrast checker → · Palette generator →

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