#161748#161748

#161748 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.089 H 276.4°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#161748
RGBrgb(22, 23, 72)
HSLhsl(239, 53%, 18%)
HSVhsv(239, 69%, 28%)
CMYKcmyk(69.4%, 68.1%, 0%, 71.8%)
CIE-LABlab(10.93, 17.36, -30.83)
CIE-LCHlch(10.93, 35.38, 299.39°)
OKLaboklab(23.92% 0.0099 -0.0887)
OKLCHoklch(23.92% 0.089 276.4)
XYZxyz(1.8066, 1.2511, 6.2759)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161748 #484716
analogous
#163048 #161748 #2E1648
triadic
#161748 #481617 #174816
tetradic
#161748 #481630 #484716 #16482E
square
#161748 #481630 #484716 #16482E
split-complementary
#161748 #482E16 #304816
monochromatic
#070717 #080819 #161748 #242677 #3335A6

Accessibility & contrast

On white

16.80
#161748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161748
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161748#FFFFFF#000000##FFFFFF
##1617481.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161748;
/* rgb */ color: rgb(22, 23, 72);
/* oklch */ color: oklch(23.9% 0.089 276.4);
Tailwind
colors: {
  custom: {
    50: '#5a547b',
    500: '#161748',
    950: '#000000',
  },
}
SCSS
$custom: #161748;
$custom-light: #5a547b;
$custom-dark: #000000;
JSON
{
  "hex": "#161748",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 238.8,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23919,
    "c": 0.08929,
    "h": 276.4
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#161748
secondary
#7F7E3A
accent
#DA4BDD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #161748

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

Preview Lab → · Contrast checker → · Palette generator →

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