#161E41#161E41

#161E41 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.067 H 271.1°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#161E41
RGBrgb(22, 30, 65)
HSLhsl(229, 49%, 17%)
HSVhsv(229, 66%, 25%)
CMYKcmyk(66.2%, 53.8%, 0%, 74.5%)
CIE-LABlab(12.48, 9.23, -23.42)
CIE-LCHlch(12.48, 25.17, 291.50°)
OKLaboklab(24.9% 0.0013 -0.0669)
OKLCHoklch(24.9% 0.067 271.1)
XYZxyz(1.7490, 1.4806, 5.1936)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E41 #413916
analogous
#163441 #161E41 #241641
triadic
#161E41 #41161E #1E4116
tetradic
#161E41 #411634 #413916 #164124
square
#161E41 #411634 #413916 #164124
split-complementary
#161E41 #412416 #344116
monochromatic
#080B17 #080B17 #161E41 #25336F #35489C

Accessibility & contrast

On white

16.20
#161E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E41
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E41#FFFFFF#000000##FFFFFF
##161E411.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2242
Deuteranopia (green-blind)
#071F40
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161e41;
/* rgb */ color: rgb(22, 30, 65);
/* oklch */ color: oklch(24.9% 0.067 271.1);
Tailwind
colors: {
  custom: {
    50: '#585976',
    500: '#161e41',
    950: '#000000',
  },
}
SCSS
$custom: #161e41;
$custom-light: #585976;
$custom-dark: #000000;
JSON
{
  "hex": "#161e41",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 228.837,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24898,
    "c": 0.06687,
    "h": 271.1
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#161E41
secondary
#786D3A
accent
#BF4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161E41

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

Preview Lab → · Contrast checker → · Palette generator →

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