#163777#163777

#163777 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.117 H 261.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#163777
RGBrgb(22, 55, 119)
HSLhsl(220, 69%, 28%)
HSVhsv(220, 82%, 47%)
CMYKcmyk(81.5%, 53.8%, 0%, 53.3%)
CIE-LABlab(24.43, 13.39, -40.06)
CIE-LCHlch(24.43, 42.24, 288.49°)
OKLaboklab(35.31% -0.0164 -0.1154)
OKLCHoklch(35.31% 0.117 261.9)
XYZxyz(5.0256, 4.2343, 18.0016)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163777 #775616
analogous
#166777 #163777 #261677
triadic
#163777 #771637 #377716
tetradic
#163777 #771667 #775616 #167726
square
#163777 #771667 #775616 #167726
split-complementary
#163777 #772616 #677716
monochromatic
#050C1A #0C1F43 #163777 #204FAB #2F69D9

Accessibility & contrast

On white

11.37
#163777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#163777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163777
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163777#FFFFFF#000000##FFFFFF
##1637771.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163777;
/* rgb */ color: rgb(22, 55, 119);
/* oklch */ color: oklch(35.3% 0.117 261.9);
Tailwind
colors: {
  custom: {
    50: '#646d9f',
    500: '#163777',
    950: '#000000',
  },
}
SCSS
$custom: #163777;
$custom-light: #646d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#163777",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 219.588,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3531,
    "c": 0.11653,
    "h": 261.9
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#163777
secondary
#AC863C
accent
#B03CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163777

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

Preview Lab → · Contrast checker → · Palette generator →

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