#163173#163173

#163173 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.119 H 264.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#163173
RGBrgb(22, 49, 115)
HSLhsl(223, 68%, 27%)
HSVhsv(223, 81%, 45%)
CMYKcmyk(80.9%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.32, 16.02, -40.93)
CIE-LCHlch(22.32, 43.96, 291.37°)
OKLaboklab(33.61% -0.012 -0.118)
OKLCHoklch(33.61% 0.119 264.2)
XYZxyz(4.5226, 3.6045, 16.6737)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163173 #735816
analogous
#166073 #163173 #2A1673
triadic
#163173 #731631 #317316
tetradic
#163173 #731660 #735816 #16732A
square
#163173 #731660 #735816 #16732A
split-complementary
#163173 #732A16 #607316
monochromatic
#050B1A #0C1B40 #163173 #2047A6 #2D5ED7

Accessibility & contrast

On white

12.20
#163173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#163173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163173
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163173#FFFFFF#000000##FFFFFF
##1631731.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #163173;
/* rgb */ color: rgb(22, 49, 115);
/* oklch */ color: oklch(33.6% 0.119 264.2);
Tailwind
colors: {
  custom: {
    50: '#63689c',
    500: '#163173',
    950: '#000000',
  },
}
SCSS
$custom: #163173;
$custom-light: #63689c;
$custom-dark: #000000;
JSON
{
  "hex": "#163173",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 222.581,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33606,
    "c": 0.11866,
    "h": 264.2
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#163173
secondary
#A9893C
accent
#B83DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163173

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

Preview Lab → · Contrast checker → · Palette generator →

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