#173276#173276

#173276 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.1% C 0.121 H 264.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#173276
RGBrgb(23, 50, 118)
HSLhsl(223, 67%, 28%)
HSVhsv(223, 81%, 46%)
CMYKcmyk(80.5%, 57.6%, 0%, 53.7%)
CIE-LABlab(22.90, 16.67, -41.91)
CIE-LCHlch(22.90, 45.10, 291.69°)
OKLaboklab(34.13% -0.0118 -0.1209)
OKLCHoklch(34.13% 0.121 264.4)
XYZxyz(4.7628, 3.7708, 17.6129)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173276 #765B17
analogous
#176276 #173276 #2B1776
triadic
#173276 #761732 #327617
tetradic
#173276 #761762 #765B17 #17762B
square
#173276 #761762 #765B17 #17762B
split-complementary
#173276 #762B17 #627617
monochromatic
#050B1A #0D1C43 #173276 #2148A9 #3160D7

Accessibility & contrast

On white

11.97
#173276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173276
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173276#FFFFFF#000000##FFFFFF
##1732761.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173276;
/* rgb */ color: rgb(23, 50, 118);
/* oklch */ color: oklch(34.1% 0.121 264.4);
Tailwind
colors: {
  custom: {
    50: '#64699e',
    500: '#173276',
    950: '#000000',
  },
}
SCSS
$custom: #173276;
$custom-light: #64699e;
$custom-dark: #000000;
JSON
{
  "hex": "#173276",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 222.947,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34133,
    "c": 0.12144,
    "h": 264.4
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173276

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

Preview Lab → · Contrast checker → · Palette generator →

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