#161C80#161C80

#161C80 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.162 H 269.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#161C80
RGBrgb(22, 28, 128)
HSLhsl(237, 71%, 29%)
HSVhsv(237, 83%, 50%)
CMYKcmyk(82.8%, 78.1%, 0%, 49.8%)
CIE-LABlab(18.18, 35.41, -56.00)
CIE-LCHlch(18.18, 66.26, 302.30°)
OKLaboklab(30.96% -0.0008 -0.1622)
OKLCHoklch(30.96% 0.162 269.7)
XYZxyz(4.6411, 2.5591, 20.6672)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C80 #807A16
analogous
#165180 #161C80 #451680
triadic
#161C80 #80161C #1C8016
tetradic
#161C80 #801651 #807A16 #168045
square
#161C80 #801651 #807A16 #168045
split-complementary
#161C80 #804516 #518016
monochromatic
#04061A #0D114C #161C80 #1F27B4 #343EDC

Accessibility & contrast

On white

13.89
#161C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#161C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C80
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C80#FFFFFF#000000##FFFFFF
##161C801.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161c80;
/* rgb */ color: rgb(22, 28, 128);
/* oklch */ color: oklch(31.0% 0.162 269.7);
Tailwind
colors: {
  custom: {
    50: '#6959a6',
    500: '#161c80',
    950: '#000000',
  },
}
SCSS
$custom: #161c80;
$custom-light: #6959a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161c80",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 236.604,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30962,
    "c": 0.16223,
    "h": 269.7
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#161C80
secondary
#B5AE3D
accent
#E33AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #161C80

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

Preview Lab → · Contrast checker → · Palette generator →

#161C80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva