#161559#161559

#161559 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.3% C 0.117 H 274.7°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#161559
RGBrgb(22, 21, 89)
HSLhsl(241, 62%, 22%)
HSVhsv(241, 76%, 35%)
CMYKcmyk(75.3%, 76.4%, 0%, 65.1%)
CIE-LABlab(12.14, 25.42, -40.49)
CIE-LCHlch(12.14, 47.81, 302.12°)
OKLaboklab(25.33% 0.0096 -0.117)
OKLCHoklch(25.33% 0.117 274.7)
XYZxyz(2.4016, 1.4279, 9.5983)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161559 #585915
analogous
#153659 #161559 #381559
triadic
#161559 #591615 #155916
tetradic
#161559 #591536 #585915 #155938
square
#161559 #591536 #585915 #155938
split-complementary
#161559 #593815 #365915
monochromatic
#060619 #0A0927 #161559 #22218B #2E2CBC

Accessibility & contrast

On white

16.33
#161559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161559
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161559#FFFFFF#000000##FFFFFF
##1615591.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#001D58
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161559;
/* rgb */ color: rgb(22, 21, 89);
/* oklch */ color: oklch(25.3% 0.117 274.7);
Tailwind
colors: {
  custom: {
    50: '#5f5389',
    500: '#161559',
    950: '#000000',
  },
}
SCSS
$custom: #161559;
$custom-light: #5f5389;
$custom-dark: #000000;
JSON
{
  "hex": "#161559",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 240.882,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25333,
    "c": 0.11743,
    "h": 274.7
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#161559
secondary
#8F9139
accent
#E543E3
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #161559

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

Preview Lab → · Contrast checker → · Palette generator →

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