#161C50#161C50

#161C50 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.095 H 272.8°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#161C50
RGBrgb(22, 28, 80)
HSLhsl(234, 57%, 20%)
HSVhsv(234, 73%, 31%)
CMYKcmyk(72.5%, 65%, 0%, 68.6%)
CIE-LABlab(13.11, 16.89, -32.80)
CIE-LCHlch(13.11, 36.89, 297.25°)
OKLaboklab(25.76% 0.0047 -0.0945)
OKLCHoklch(25.76% 0.095 272.8)
XYZxyz(2.1936, 1.5801, 7.7772)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C50 #504A16
analogous
#163950 #161C50 #2D1650
triadic
#161C50 #50161C #1C5016
tetradic
#161C50 #501639 #504A16 #16502D
square
#161C50 #501639 #504A16 #16502D
split-complementary
#161C50 #502D16 #395016
monochromatic
#070818 #090B20 #161C50 #232D80 #303EB0

Accessibility & contrast

On white

15.96
#161C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C50
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C50#FFFFFF#000000##FFFFFF
##161C501.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161c50;
/* rgb */ color: rgb(22, 28, 80);
/* oklch */ color: oklch(25.8% 0.095 272.8);
Tailwind
colors: {
  custom: {
    50: '#5c5882',
    500: '#161c50',
    950: '#000000',
  },
}
SCSS
$custom: #161c50;
$custom-light: #5c5882;
$custom-dark: #000000;
JSON
{
  "hex": "#161c50",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 233.793,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.2576,
    "c": 0.09457,
    "h": 272.8
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#161C50
secondary
#877F3A
accent
#D048E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #161C50

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

Preview Lab → · Contrast checker → · Palette generator →

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