#163172#163172

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

Color values

HEX#163172
RGBrgb(22, 49, 114)
HSLhsl(222, 68%, 27%)
HSVhsv(222, 81%, 45%)
CMYKcmyk(80.7%, 57%, 0%, 55.3%)
CIE-LABlab(22.24, 15.60, -40.43)
CIE-LCHlch(22.24, 43.33, 291.10°)
OKLaboklab(33.52% -0.0121 -0.1166)
OKLCHoklch(33.52% 0.117 264.1)
XYZxyz(4.4654, 3.5816, 16.3723)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163172 #725716
analogous
#165F72 #163172 #291672
triadic
#163172 #721631 #317216
tetradic
#163172 #72165F #725716 #167229
square
#163172 #72165F #725716 #167229
split-complementary
#163172 #722916 #5F7216
monochromatic
#050B1A #0C1B3F #163172 #2047A5 #2C5ED6

Accessibility & contrast

On white

12.23
#163172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163172
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163172#FFFFFF#000000##FFFFFF
##1631721.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #163172;
/* rgb */ color: rgb(22, 49, 114);
/* oklch */ color: oklch(33.5% 0.117 264.1);
Tailwind
colors: {
  custom: {
    50: '#63689b',
    500: '#163172',
    950: '#000000',
  },
}
SCSS
$custom: #163172;
$custom-light: #63689b;
$custom-dark: #000000;
JSON
{
  "hex": "#163172",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 222.391,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.11719,
    "h": 264.1
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #163172

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

Preview Lab → · Contrast checker → · Palette generator →

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