#161845#161845

#161845 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.083 H 276.2°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#161845
RGBrgb(22, 24, 69)
HSLhsl(237, 52%, 18%)
HSVhsv(237, 68%, 27%)
CMYKcmyk(68.1%, 65.2%, 0%, 72.9%)
CIE-LABlab(10.95, 15.41, -28.71)
CIE-LCHlch(10.95, 32.58, 298.23°)
OKLaboklab(23.85% 0.0089 -0.0825)
OKLCHoklch(23.85% 0.083 276.2)
XYZxyz(1.7313, 1.2534, 5.7798)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161845 #454316
analogous
#162F45 #161845 #2B1645
triadic
#161845 #451618 #184516
tetradic
#161845 #45162F #454316 #16452B
square
#161845 #45162F #454316 #16452B
split-complementary
#161845 #452B16 #2F4516
monochromatic
#070817 #070817 #161845 #252873 #3438A2

Accessibility & contrast

On white

16.79
#161845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#161845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161845
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161845#FFFFFF#000000##FFFFFF
##1618451.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#00232B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161845;
/* rgb */ color: rgb(22, 24, 69);
/* oklch */ color: oklch(23.8% 0.083 276.2);
Tailwind
colors: {
  custom: {
    50: '#595479',
    500: '#161845',
    950: '#000000',
  },
}
SCSS
$custom: #161845;
$custom-light: #595479;
$custom-dark: #000000;
JSON
{
  "hex": "#161845",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 237.447,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23845,
    "c": 0.08297,
    "h": 276.2
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#161845
secondary
#7C7A3A
accent
#D54DDB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #161845

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

Preview Lab → · Contrast checker → · Palette generator →

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