#173279#173279

#173279 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.126 H 264.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#173279
RGBrgb(23, 50, 121)
HSLhsl(223, 68%, 28%)
HSVhsv(223, 81%, 47%)
CMYKcmyk(81%, 58.7%, 0%, 52.5%)
CIE-LABlab(23.15, 17.91, -43.41)
CIE-LCHlch(23.15, 46.96, 292.42°)
OKLaboklab(34.4% -0.0116 -0.1253)
OKLCHoklch(34.4% 0.126 264.7)
XYZxyz(4.9439, 3.8433, 18.5667)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173279 #795E17
analogous
#176379 #173279 #2D1779
triadic
#173279 #791732 #327917
tetradic
#173279 #791763 #795E17 #17792D
square
#173279 #791763 #795E17 #17792D
split-complementary
#173279 #792D17 #637917
monochromatic
#050B1A #0D1D46 #173279 #2147AC #3260D8

Accessibility & contrast

On white

11.87
#173279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#173279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173279
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173279#FFFFFF#000000##FFFFFF
##1732791.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173279;
/* rgb */ color: rgb(23, 50, 121);
/* oklch */ color: oklch(34.4% 0.126 264.7);
Tailwind
colors: {
  custom: {
    50: '#6569a0',
    500: '#173279',
    950: '#000000',
  },
}
SCSS
$custom: #173279;
$custom-light: #6569a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173279",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 223.469,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34398,
    "c": 0.12583,
    "h": 264.7
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#173279
secondary
#AE8F3E
accent
#BB3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #173279

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

Preview Lab → · Contrast checker → · Palette generator →

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