#163980#163980

#163980 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.5% C 0.127 H 262.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#163980
RGBrgb(22, 57, 128)
HSLhsl(220, 71%, 29%)
HSVhsv(220, 83%, 50%)
CMYKcmyk(82.8%, 55.5%, 0%, 49.8%)
CIE-LABlab(25.73, 15.72, -43.64)
CIE-LCHlch(25.73, 46.39, 289.82°)
OKLaboklab(36.52% -0.017 -0.1258)
OKLCHoklch(36.52% 0.127 262.3)
XYZxyz(5.6889, 4.6547, 21.0165)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163980 #805D16
analogous
#166E80 #163980 #281680
triadic
#163980 #801639 #398016
tetradic
#163980 #80166E #805D16 #168028
square
#163980 #80166E #805D16 #168028
split-complementary
#163980 #802816 #6E8016
monochromatic
#040C1A #0D224C #163980 #1F50B4 #346CDC

Accessibility & contrast

On white

10.88
#163980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#163980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163980
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163980#FFFFFF#000000##FFFFFF
##1639801.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004282
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #163980;
/* rgb */ color: rgb(22, 57, 128);
/* oklch */ color: oklch(36.5% 0.127 262.3);
Tailwind
colors: {
  custom: {
    50: '#666ea5',
    500: '#163980',
    950: '#000000',
  },
}
SCSS
$custom: #163980;
$custom-light: #666ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#163980",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 220.189,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.12699,
    "h": 262.3
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#163980
secondary
#B58D3D
accent
#B23AED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #163980

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

Preview Lab → · Contrast checker → · Palette generator →

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