#161846#161846

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

Color values

HEX#161846
RGBrgb(22, 24, 70)
HSLhsl(238, 52%, 18%)
HSVhsv(238, 69%, 27%)
CMYKcmyk(68.6%, 65.7%, 0%, 72.5%)
CIE-LABlab(11.03, 15.82, -29.26)
CIE-LCHlch(11.03, 33.26, 298.39°)
OKLaboklab(23.94% 0.0089 -0.0841)
OKLCHoklch(23.94% 0.085 276.1)
XYZxyz(1.7626, 1.2659, 5.9446)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161846 #464416
analogous
#163046 #161846 #2C1646
triadic
#161846 #461618 #184616
tetradic
#161846 #461630 #464416 #16462C
square
#161846 #461630 #464416 #16462C
split-complementary
#161846 #462C16 #304616
monochromatic
#070817 #070817 #161846 #252875 #3338A3

Accessibility & contrast

On white

16.76
#161846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161846
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161846#FFFFFF#000000##FFFFFF
##1618461.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161846;
/* rgb */ color: rgb(22, 24, 70);
/* oklch */ color: oklch(23.9% 0.085 276.1);
Tailwind
colors: {
  custom: {
    50: '#5a547a',
    500: '#161846',
    950: '#000000',
  },
}
SCSS
$custom: #161846;
$custom-light: #5a547a;
$custom-dark: #000000;
JSON
{
  "hex": "#161846",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 237.5,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23939,
    "c": 0.08459,
    "h": 276.1
  },
  "luminance": 0.01266
}

Semantic roles & 50–950 ramp

primary
#161846
secondary
#7D7B3A
accent
#D64CDC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #161846

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

Preview Lab → · Contrast checker → · Palette generator →

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