#163161#163161

#163161 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.091 H 260.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#163161
RGBrgb(22, 49, 97)
HSLhsl(218, 63%, 23%)
HSVhsv(218, 77%, 38%)
CMYKcmyk(77.3%, 49.5%, 0%, 62%)
CIE-LABlab(20.94, 8.47, -31.50)
CIE-LCHlch(20.94, 32.62, 285.04°)
OKLaboklab(32.12% -0.0144 -0.0903)
OKLCHoklch(32.12% 0.091 260.9)
XYZxyz(3.5861, 3.2299, 11.7414)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163161 #614616
analogous
#165661 #163161 #201661
triadic
#163161 #611631 #316116
tetradic
#163161 #611656 #614616 #166120
square
#163161 #611656 #614616 #166120
split-complementary
#163161 #612016 #566116
monochromatic
#060D19 #0B182F #163161 #214A93 #2D63C5

Accessibility & contrast

On white

12.76
#163161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#163161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163161
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163161#FFFFFF#000000##FFFFFF
##1631611.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183663
Deuteranopia (green-blind)
#072F60
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #163161;
/* rgb */ color: rgb(22, 49, 97);
/* oklch */ color: oklch(32.1% 0.091 260.9);
Tailwind
colors: {
  custom: {
    50: '#5f688e',
    500: '#163161',
    950: '#000000',
  },
}
SCSS
$custom: #163161;
$custom-light: #5f688e;
$custom-dark: #000000;
JSON
{
  "hex": "#163161",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 218.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3212,
    "c": 0.09145,
    "h": 260.9
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#163161
secondary
#98763B
accent
#AB42E6
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #163161

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

Preview Lab → · Contrast checker → · Palette generator →

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