#163177#163177

#163177 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.125 H 264.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#163177
RGBrgb(22, 49, 119)
HSLhsl(223, 69%, 28%)
HSVhsv(223, 82%, 47%)
CMYKcmyk(81.5%, 58.8%, 0%, 53.3%)
CIE-LABlab(22.65, 17.68, -42.95)
CIE-LCHlch(22.65, 46.45, 292.38°)
OKLaboklab(33.96% -0.0117 -0.124)
OKLCHoklch(33.96% 0.125 264.6)
XYZxyz(4.7578, 3.6986, 17.9123)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163177 #775C16
analogous
#166177 #163177 #2C1677
triadic
#163177 #771631 #317716
tetradic
#163177 #771661 #775C16 #16772C
square
#163177 #771661 #775C16 #16772C
split-complementary
#163177 #772C16 #617716
monochromatic
#050B1A #0C1C43 #163177 #2046AB #2F5ED9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##163177#FFFFFF#000000##FFFFFF
##1631771.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)
#003B79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163177;
/* rgb */ color: rgb(22, 49, 119);
/* oklch */ color: oklch(34.0% 0.125 264.6);
Tailwind
colors: {
  custom: {
    50: '#64689f',
    500: '#163177',
    950: '#000000',
  },
}
SCSS
$custom: #163177;
$custom-light: #64689f;
$custom-dark: #000000;
JSON
{
  "hex": "#163177",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 223.299,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3396,
    "c": 0.12454,
    "h": 264.6
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#163177
secondary
#AC8D3C
accent
#BB3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163177

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

Preview Lab → · Contrast checker → · Palette generator →

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