#173275#173275

#173275 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.120 H 264.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#173275
RGBrgb(23, 50, 117)
HSLhsl(223, 67%, 27%)
HSVhsv(223, 80%, 46%)
CMYKcmyk(80.3%, 57.3%, 0%, 54.1%)
CIE-LABlab(22.82, 16.25, -41.40)
CIE-LCHlch(22.82, 44.48, 291.44°)
OKLaboklab(34.05% -0.0119 -0.1194)
OKLCHoklch(34.05% 0.12 264.3)
XYZxyz(4.7037, 3.7472, 17.3015)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173275 #755A17
analogous
#176175 #173275 #2B1775
triadic
#173275 #751732 #327517
tetradic
#173275 #751761 #755A17 #17752B
square
#173275 #751761 #755A17 #17752B
split-complementary
#173275 #752B17 #617517
monochromatic
#050B1A #0D1C42 #173275 #2148A8 #3060D6

Accessibility & contrast

On white

12.00
#173275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173275
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173275#FFFFFF#000000##FFFFFF
##1732751.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173275;
/* rgb */ color: rgb(23, 50, 117);
/* oklch */ color: oklch(34.0% 0.120 264.3);
Tailwind
colors: {
  custom: {
    50: '#64699d',
    500: '#173275',
    950: '#000000',
  },
}
SCSS
$custom: #173275;
$custom-light: #64699d;
$custom-dark: #000000;
JSON
{
  "hex": "#173275",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 117
  },
  "hsl": {
    "h": 222.766,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34046,
    "c": 0.11998,
    "h": 264.3
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#173275
secondary
#AA8B3D
accent
#B93EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173275

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

Preview Lab → · Contrast checker → · Palette generator →

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