#161950#161950

#161950 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.099 H 274.4°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#161950
RGBrgb(22, 25, 80)
HSLhsl(237, 57%, 20%)
HSVhsv(237, 73%, 31%)
CMYKcmyk(72.5%, 68.8%, 0%, 68.6%)
CIE-LABlab(12.25, 19.10, -34.19)
CIE-LCHlch(12.25, 39.16, 299.19°)
OKLaboklab(25.13% 0.0075 -0.0986)
OKLCHoklch(25.13% 0.099 274.4)
XYZxyz(2.1260, 1.4448, 7.7547)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161950 #504D16
analogous
#163650 #161950 #301650
triadic
#161950 #501619 #195016
tetradic
#161950 #501636 #504D16 #165030
square
#161950 #501636 #504D16 #165030
split-complementary
#161950 #503016 #365016
monochromatic
#070718 #090A20 #161950 #232880 #3037B0

Accessibility & contrast

On white

16.29
#161950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161950
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161950#FFFFFF#000000##FFFFFF
##1619501.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161950;
/* rgb */ color: rgb(22, 25, 80);
/* oklch */ color: oklch(25.1% 0.099 274.4);
Tailwind
colors: {
  custom: {
    50: '#5c5582',
    500: '#161950',
    950: '#000000',
  },
}
SCSS
$custom: #161950;
$custom-light: #5c5582;
$custom-dark: #000000;
JSON
{
  "hex": "#161950",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 236.897,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.25129,
    "c": 0.09888,
    "h": 274.4
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#161950
secondary
#87833A
accent
#D848E0
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #161950

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

Preview Lab → · Contrast checker → · Palette generator →

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