#161854#161854

#161854 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.106 H 274.3°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#161854
RGBrgb(22, 24, 84)
HSLhsl(238, 58%, 21%)
HSVhsv(238, 74%, 33%)
CMYKcmyk(73.8%, 71.4%, 0%, 67.1%)
CIE-LABlab(12.38, 21.41, -36.72)
CIE-LCHlch(12.38, 42.51, 300.25°)
OKLaboklab(25.34% 0.0081 -0.106)
OKLCHoklch(25.34% 0.106 274.3)
XYZxyz(2.2572, 1.4637, 8.5494)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161854 #545216
analogous
#163754 #161854 #331654
triadic
#161854 #541618 #185416
tetradic
#161854 #541637 #545216 #165433
square
#161854 #541637 #545216 #165433
split-complementary
#161854 #543316 #375416
monochromatic
#060718 #090A24 #161854 #232684 #2F34B5

Accessibility & contrast

On white

16.24
#161854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161854
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161854#FFFFFF#000000##FFFFFF
##1618541.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#002833
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161854;
/* rgb */ color: rgb(22, 24, 84);
/* oklch */ color: oklch(25.3% 0.106 274.3);
Tailwind
colors: {
  custom: {
    50: '#5d5585',
    500: '#161854',
    950: '#000000',
  },
}
SCSS
$custom: #161854;
$custom-light: #5d5585;
$custom-dark: #000000;
JSON
{
  "hex": "#161854",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 238.065,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2534,
    "c": 0.10632,
    "h": 274.3
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#161854
secondary
#8B893A
accent
#DD46E2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161854

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

Preview Lab → · Contrast checker → · Palette generator →

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