#173775#173775

#173775 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.113 H 261.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#173775
RGBrgb(23, 55, 117)
HSLhsl(220, 67%, 27%)
HSVhsv(220, 80%, 46%)
CMYKcmyk(80.3%, 53%, 0%, 54.1%)
CIE-LABlab(24.32, 12.68, -38.97)
CIE-LCHlch(24.32, 40.98, 288.03°)
OKLaboklab(35.19% -0.016 -0.1121)
OKLCHoklch(35.19% 0.113 261.9)
XYZxyz(4.9293, 4.1983, 17.3767)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173775 #755517
analogous
#176675 #173775 #261775
triadic
#173775 #751737 #377517
tetradic
#173775 #751766 #755517 #177526
square
#173775 #751766 #755517 #177526
split-complementary
#173775 #752617 #667517
monochromatic
#050C1A #0D1F42 #173775 #214FA8 #3069D6

Accessibility & contrast

On white

11.41
#173775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#173775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173775
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173775#FFFFFF#000000##FFFFFF
##1737751.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103E77
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173775;
/* rgb */ color: rgb(23, 55, 117);
/* oklch */ color: oklch(35.2% 0.113 261.9);
Tailwind
colors: {
  custom: {
    50: '#646d9d',
    500: '#173775',
    950: '#000000',
  },
}
SCSS
$custom: #173775;
$custom-light: #646d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#173775",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 117
  },
  "hsl": {
    "h": 219.574,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.11327,
    "h": 261.9
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#173775
secondary
#AA853D
accent
#AF3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173775

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

Preview Lab → · Contrast checker → · Palette generator →

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