#173273#173273

#173273 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.117 H 264.1°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#173273
RGBrgb(23, 50, 115)
HSLhsl(222, 67%, 27%)
HSVhsv(222, 80%, 45%)
CMYKcmyk(80%, 56.5%, 0%, 54.9%)
CIE-LABlab(22.66, 15.43, -40.39)
CIE-LCHlch(22.66, 43.23, 290.90°)
OKLaboklab(33.87% -0.012 -0.1164)
OKLCHoklch(33.87% 0.117 264.1)
XYZxyz(4.5874, 3.7006, 16.6889)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173273 #735817
analogous
#176073 #173273 #2A1773
triadic
#173273 #731732 #327317
tetradic
#173273 #731760 #735817 #17732A
square
#173273 #731760 #735817 #17732A
split-complementary
#173273 #732A17 #607317
monochromatic
#050B1A #0D1C40 #173273 #2148A6 #2F60D5

Accessibility & contrast

On white

12.07
#173273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173273
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173273#FFFFFF#000000##FFFFFF
##1732731.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B75
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173273;
/* rgb */ color: rgb(23, 50, 115);
/* oklch */ color: oklch(33.9% 0.117 264.1);
Tailwind
colors: {
  custom: {
    50: '#64699c',
    500: '#173273',
    950: '#000000',
  },
}
SCSS
$custom: #173273;
$custom-light: #64699c;
$custom-dark: #000000;
JSON
{
  "hex": "#173273",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 222.391,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33873,
    "c": 0.11702,
    "h": 264.1
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#173273
secondary
#A9893D
accent
#B73EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173273

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

Preview Lab → · Contrast checker → · Palette generator →

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