#161256#161256

#161256 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.117 H 276.0°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#161256
RGBrgb(22, 18, 86)
HSLhsl(244, 65%, 20%)
HSVhsv(244, 79%, 34%)
CMYKcmyk(74.4%, 79.1%, 0%, 66.3%)
CIE-LABlab(11.10, 26.25, -40.18)
CIE-LCHlch(11.10, 47.99, 303.16°)
OKLaboklab(24.49% 0.0122 -0.1161)
OKLCHoklch(24.49% 0.117 276)
XYZxyz(2.2263, 1.2749, 8.9310)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161256 #525612
analogous
#123056 #161256 #381256
triadic
#161256 #561612 #125616
tetradic
#161256 #561230 #525612 #125638
square
#161256 #561230 #525612 #125638
split-complementary
#161256 #563812 #305612
monochromatic
#060519 #090723 #161256 #231D89 #3027BB

Accessibility & contrast

On white

16.73
#161256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161256
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161256#FFFFFF#000000##FFFFFF
##1612561.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161256;
/* rgb */ color: rgb(22, 18, 86);
/* oklch */ color: oklch(24.5% 0.117 276.0);
Tailwind
colors: {
  custom: {
    50: '#5e5186',
    500: '#161256',
    950: '#000000',
  },
}
SCSS
$custom: #161256;
$custom-light: #5e5186;
$custom-dark: #000000;
JSON
{
  "hex": "#161256",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 243.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24487,
    "c": 0.11675,
    "h": 276
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#161256
secondary
#898F35
accent
#E83FDE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #161256

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

Preview Lab → · Contrast checker → · Palette generator →

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