#161254#161254

#161254 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.3% C 0.114 H 276.4°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#161254
RGBrgb(22, 18, 84)
HSLhsl(244, 65%, 20%)
HSVhsv(244, 79%, 33%)
CMYKcmyk(73.8%, 78.6%, 0%, 67.1%)
CIE-LABlab(10.87, 25.51, -39.19)
CIE-LCHlch(10.87, 46.76, 303.06°)
OKLaboklab(24.26% 0.0127 -0.1132)
OKLCHoklch(24.26% 0.114 276.4)
XYZxyz(2.1469, 1.2431, 8.5126)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161254 #505412
analogous
#122F54 #161254 #371254
triadic
#161254 #541612 #125416
tetradic
#161254 #54122F #505412 #125437
square
#161254 #54122F #505412 #125437
split-complementary
#161254 #543712 #2F5412
monochromatic
#070519 #090722 #161254 #231D86 #3028B9

Accessibility & contrast

On white

16.82
#161254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161254
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161254#FFFFFF#000000##FFFFFF
##1612541.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161254;
/* rgb */ color: rgb(22, 18, 84);
/* oklch */ color: oklch(24.3% 0.114 276.4);
Tailwind
colors: {
  custom: {
    50: '#5e5085',
    500: '#161254',
    950: '#000000',
  },
}
SCSS
$custom: #161254;
$custom-light: #5e5085;
$custom-dark: #000000;
JSON
{
  "hex": "#161254",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 243.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.24257,
    "c": 0.11394,
    "h": 276.4
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#161254
secondary
#878D35
accent
#E840DE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #161254

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

Preview Lab → · Contrast checker → · Palette generator →

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