#173272#173272

#173272 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.116 H 264.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#173272
RGBrgb(23, 50, 114)
HSLhsl(222, 66%, 27%)
HSVhsv(222, 80%, 45%)
CMYKcmyk(79.8%, 56.1%, 0%, 55.3%)
CIE-LABlab(22.58, 15.01, -39.87)
CIE-LCHlch(22.58, 42.60, 290.62°)
OKLaboklab(33.79% -0.0121 -0.1149)
OKLCHoklch(33.79% 0.116 264)
XYZxyz(4.5301, 3.6778, 16.3875)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173272 #725717
analogous
#176072 #173272 #2A1772
triadic
#173272 #721732 #327217
tetradic
#173272 #721760 #725717 #17722A
square
#173272 #721760 #725717 #17722A
split-complementary
#173272 #722A17 #607217
monochromatic
#050B19 #0D1C3F #173272 #2148A5 #2E60D5

Accessibility & contrast

On white

12.10
#173272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#173272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173272
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173272#FFFFFF#000000##FFFFFF
##1732721.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A74
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173272;
/* rgb */ color: rgb(23, 50, 114);
/* oklch */ color: oklch(33.8% 0.116 264.0);
Tailwind
colors: {
  custom: {
    50: '#63699b',
    500: '#173272',
    950: '#000000',
  },
}
SCSS
$custom: #173272;
$custom-light: #63699b;
$custom-dark: #000000;
JSON
{
  "hex": "#173272",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 222.198,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.11554,
    "h": 264
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#173272
secondary
#A8883D
accent
#B73EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173272

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

Preview Lab → · Contrast checker → · Palette generator →

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