#161545#161545

#161545 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.088 H 278.0°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#161545
RGBrgb(22, 21, 69)
HSLhsl(241, 53%, 18%)
HSVhsv(241, 70%, 27%)
CMYKcmyk(68.1%, 69.6%, 0%, 72.9%)
CIE-LABlab(10.08, 17.65, -30.12)
CIE-LCHlch(10.08, 34.91, 300.37°)
OKLaboklab(23.21% 0.0122 -0.0866)
OKLCHoklch(23.21% 0.088 278)
XYZxyz(1.6729, 1.1364, 5.7603)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161545 #444515
analogous
#152C45 #161545 #2E1545
triadic
#161545 #451615 #154516
tetradic
#161545 #45152C #444515 #15452E
square
#161545 #45152C #444515 #15452E
split-complementary
#161545 #452E15 #2C4515
monochromatic
#070717 #070717 #161545 #252374 #3432A3

Accessibility & contrast

On white

17.11
#161545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#161545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161545
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161545#FFFFFF#000000##FFFFFF
##1615451.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #161545;
/* rgb */ color: rgb(22, 21, 69);
/* oklch */ color: oklch(23.2% 0.088 278.0);
Tailwind
colors: {
  custom: {
    50: '#5a5279',
    500: '#161545',
    950: '#000000',
  },
}
SCSS
$custom: #161545;
$custom-light: #5a5279;
$custom-dark: #000000;
JSON
{
  "hex": "#161545",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 241.25,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23207,
    "c": 0.08751,
    "h": 278
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#161545
secondary
#7B7D39
accent
#DD4BDA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #161545

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

Preview Lab → · Contrast checker → · Palette generator →

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