#161856#161856

#161856 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.109 H 274.1°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#161856
RGBrgb(22, 24, 86)
HSLhsl(238, 59%, 21%)
HSVhsv(238, 74%, 34%)
CMYKcmyk(74.4%, 72.1%, 0%, 66.3%)
CIE-LABlab(12.58, 22.20, -37.74)
CIE-LCHlch(12.58, 43.79, 300.46°)
OKLaboklab(25.55% 0.0078 -0.109)
OKLCHoklch(25.55% 0.109 274.1)
XYZxyz(2.3367, 1.4955, 8.9678)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161856 #565416
analogous
#163856 #161856 #341656
triadic
#161856 #561618 #185616
tetradic
#161856 #561638 #565416 #165634
square
#161856 #561638 #565416 #165634
split-complementary
#161856 #563416 #385616
monochromatic
#060718 #0A0A25 #161856 #222687 #2F33B7

Accessibility & contrast

On white

16.16
#161856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161856
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161856#FFFFFF#000000##FFFFFF
##1618561.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161856;
/* rgb */ color: rgb(22, 24, 86);
/* oklch */ color: oklch(25.6% 0.109 274.1);
Tailwind
colors: {
  custom: {
    50: '#5e5586',
    500: '#161856',
    950: '#000000',
  },
}
SCSS
$custom: #161856;
$custom-light: #5e5586;
$custom-dark: #000000;
JSON
{
  "hex": "#161856",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 238.125,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25551,
    "c": 0.10929,
    "h": 274.1
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#161856
secondary
#8D8B3A
accent
#DE45E2
background
#F5F4F8
surface
#EAE8EF
border
#C6C4CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161856

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

Preview Lab → · Contrast checker → · Palette generator →

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