#161979#161979

#161979 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.156 H 270.6°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#161979
RGBrgb(22, 25, 121)
HSLhsl(238, 69%, 28%)
HSVhsv(238, 82%, 47%)
CMYKcmyk(81.8%, 79.3%, 0%, 52.5%)
CIE-LABlab(16.73, 34.69, -53.95)
CIE-LCHlch(16.73, 64.14, 302.74°)
OKLaboklab(29.69% 0.0016 -0.1562)
OKLCHoklch(29.69% 0.156 270.6)
XYZxyz(4.1285, 2.2458, 18.3014)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161979 #797616
analogous
#164A79 #161979 #441679
triadic
#161979 #791619 #197916
tetradic
#161979 #79164A #797616 #167944
square
#161979 #79164A #797616 #167944
split-complementary
#161979 #794416 #4A7916
monochromatic
#05051A #0D0E45 #161979 #1F24AD #3035D9

Accessibility & contrast

On white

14.49
#161979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#161979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161979
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161979#FFFFFF#000000##FFFFFF
##1619791.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161979;
/* rgb */ color: rgb(22, 25, 121);
/* oklch */ color: oklch(29.7% 0.156 270.6);
Tailwind
colors: {
  custom: {
    50: '#6757a1',
    500: '#161979',
    950: '#000000',
  },
}
SCSS
$custom: #161979;
$custom-light: #6757a1;
$custom-dark: #000000;
JSON
{
  "hex": "#161979",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 238.182,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.2969,
    "c": 0.15624,
    "h": 270.6
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#161979
secondary
#AEAB3D
accent
#E73CEC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161979

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

Preview Lab → · Contrast checker → · Palette generator →

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