#161855#161855

#161855 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.108 H 274.2°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#161855
RGBrgb(22, 24, 85)
HSLhsl(238, 59%, 21%)
HSVhsv(238, 74%, 33%)
CMYKcmyk(74.1%, 71.8%, 0%, 66.7%)
CIE-LABlab(12.48, 21.81, -37.23)
CIE-LCHlch(12.48, 43.15, 300.36°)
OKLaboklab(25.45% 0.008 -0.1075)
OKLCHoklch(25.45% 0.108 274.2)
XYZxyz(2.2967, 1.4795, 8.7571)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161855 #555316
analogous
#163755 #161855 #331655
triadic
#161855 #551618 #185516
tetradic
#161855 #551637 #555316 #165533
square
#161855 #551637 #555316 #165533
split-complementary
#161855 #553316 #375516
monochromatic
#060718 #090A24 #161855 #232686 #2F33B6

Accessibility & contrast

On white

16.20
#161855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161855
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161855#FFFFFF#000000##FFFFFF
##1618551.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161855;
/* rgb */ color: rgb(22, 24, 85);
/* oklch */ color: oklch(25.4% 0.108 274.2);
Tailwind
colors: {
  custom: {
    50: '#5d5586',
    500: '#161855',
    950: '#000000',
  },
}
SCSS
$custom: #161855;
$custom-light: #5d5586;
$custom-dark: #000000;
JSON
{
  "hex": "#161855",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 238.095,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25446,
    "c": 0.1078,
    "h": 274.2
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161855

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

Preview Lab → · Contrast checker → · Palette generator →

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