#163A71#163A71

#163A71 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.104 H 258.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#163A71
RGBrgb(22, 58, 113)
HSLhsl(216, 67%, 26%)
HSVhsv(216, 81%, 44%)
CMYKcmyk(80.5%, 48.7%, 0%, 55.7%)
CIE-LABlab(24.92, 8.75, -35.46)
CIE-LCHlch(24.92, 36.52, 283.87°)
OKLaboklab(35.54% -0.02 -0.1018)
OKLCHoklch(35.54% 0.104 258.9)
XYZxyz(4.8235, 4.3884, 16.2124)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A71 #714D16
analogous
#166871 #163A71 #201671
triadic
#163A71 #71163A #3A7116
tetradic
#163A71 #711668 #714D16 #167120
square
#163A71 #711668 #714D16 #167120
split-complementary
#163A71 #712016 #687116
monochromatic
#050D1A #0C203E #163A71 #2054A4 #2C6FD6

Accessibility & contrast

On white

11.18
#163A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#163A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A71
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A71#FFFFFF#000000##FFFFFF
##163A711.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4073
Deuteranopia (green-blind)
#063770
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #163a71;
/* rgb */ color: rgb(22, 58, 113);
/* oklch */ color: oklch(35.5% 0.104 258.9);
Tailwind
colors: {
  custom: {
    50: '#626f9a',
    500: '#163a71',
    950: '#000000',
  },
}
SCSS
$custom: #163a71;
$custom-light: #626f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#163a71",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 216.264,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.1037,
    "h": 258.9
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#163A71
secondary
#A77D3C
accent
#A63EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163A71

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

Preview Lab → · Contrast checker → · Palette generator →

#163A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva