#163771#163771

#163771 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.108 H 260.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#163771
RGBrgb(22, 55, 113)
HSLhsl(218, 67%, 26%)
HSVhsv(218, 81%, 44%)
CMYKcmyk(80.5%, 51.3%, 0%, 55.7%)
CIE-LABlab(23.98, 10.88, -36.96)
CIE-LCHlch(23.98, 38.53, 286.40°)
OKLaboklab(34.82% -0.0173 -0.1062)
OKLCHoklch(34.82% 0.108 260.7)
XYZxyz(4.6766, 4.0947, 16.1635)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163771 #715016
analogous
#166571 #163771 #231671
triadic
#163771 #711637 #377116
tetradic
#163771 #711665 #715016 #167123
square
#163771 #711665 #715016 #167123
split-complementary
#163771 #712316 #657116
monochromatic
#050C1A #0C1E3E #163771 #2050A4 #2C69D6

Accessibility & contrast

On white

11.54
#163771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163771
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163771#FFFFFF#000000##FFFFFF
##1637711.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #163771;
/* rgb */ color: rgb(22, 55, 113);
/* oklch */ color: oklch(34.8% 0.108 260.7);
Tailwind
colors: {
  custom: {
    50: '#626d9a',
    500: '#163771',
    950: '#000000',
  },
}
SCSS
$custom: #163771;
$custom-light: #626d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#163771",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 218.242,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34823,
    "c": 0.10765,
    "h": 260.7
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#163771
secondary
#A7803C
accent
#AC3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163771

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

Preview Lab → · Contrast checker → · Palette generator →

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