#173779#173779

#173779 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.119 H 262.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#173779
RGBrgb(23, 55, 121)
HSLhsl(220, 68%, 28%)
HSVhsv(220, 81%, 47%)
CMYKcmyk(81%, 54.5%, 0%, 52.5%)
CIE-LABlab(24.62, 14.35, -41.02)
CIE-LCHlch(24.62, 43.45, 289.28°)
OKLaboklab(35.51% -0.0155 -0.1182)
OKLCHoklch(35.51% 0.119 262.5)
XYZxyz(5.1695, 4.2944, 18.6419)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173779 #795917
analogous
#176879 #173779 #281779
triadic
#173779 #791737 #377917
tetradic
#173779 #791768 #795917 #177928
square
#173779 #791768 #795917 #177928
split-complementary
#173779 #792817 #687917
monochromatic
#050C1A #0D2046 #173779 #214EAC #3268D8

Accessibility & contrast

On white

11.30
#173779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173779
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173779#FFFFFF#000000##FFFFFF
##1737791.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7B
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173779;
/* rgb */ color: rgb(23, 55, 121);
/* oklch */ color: oklch(35.5% 0.119 262.5);
Tailwind
colors: {
  custom: {
    50: '#656da0',
    500: '#173779',
    950: '#000000',
  },
}
SCSS
$custom: #173779;
$custom-light: #656da0;
$custom-dark: #000000;
JSON
{
  "hex": "#173779",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 220.408,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35514,
    "c": 0.11917,
    "h": 262.5
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#173779
secondary
#AE893E
accent
#B23DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173779

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

Preview Lab → · Contrast checker → · Palette generator →

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