#163772#163772

#163772 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.109 H 261.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#163772
RGBrgb(22, 55, 114)
HSLhsl(218, 68%, 27%)
HSVhsv(218, 81%, 45%)
CMYKcmyk(80.7%, 51.8%, 0%, 55.3%)
CIE-LABlab(24.06, 11.30, -37.48)
CIE-LCHlch(24.06, 39.15, 286.78°)
OKLaboklab(34.9% -0.0171 -0.1078)
OKLCHoklch(34.9% 0.109 261)
XYZxyz(4.7332, 4.1173, 16.4616)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163772 #725116
analogous
#166572 #163772 #231672
triadic
#163772 #721637 #377216
tetradic
#163772 #721665 #725116 #167223
square
#163772 #721665 #725116 #167223
split-complementary
#163772 #722316 #657216
monochromatic
#050C1A #0C1E3F #163772 #2050A5 #2C69D6

Accessibility & contrast

On white

11.52
#163772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#163772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163772
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163772#FFFFFF#000000##FFFFFF
##1637721.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #163772;
/* rgb */ color: rgb(22, 55, 114);
/* oklch */ color: oklch(34.9% 0.109 261.0);
Tailwind
colors: {
  custom: {
    50: '#636d9b',
    500: '#163772',
    950: '#000000',
  },
}
SCSS
$custom: #163772;
$custom-light: #636d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#163772",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 218.478,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34903,
    "c": 0.10914,
    "h": 261
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#163772
secondary
#A8813C
accent
#AC3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163772

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

Preview Lab → · Contrast checker → · Palette generator →

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