#161955#161955

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

Color values

HEX#161955
RGBrgb(22, 25, 85)
HSLhsl(237, 59%, 21%)
HSVhsv(237, 74%, 33%)
CMYKcmyk(74.1%, 70.6%, 0%, 66.7%)
CIE-LABlab(12.74, 21.09, -36.79)
CIE-LCHlch(12.74, 42.41, 299.83°)
OKLaboklab(25.64% 0.0071 -0.1062)
OKLCHoklch(25.64% 0.106 273.8)
XYZxyz(2.3177, 1.5215, 8.7641)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161955 #555216
analogous
#163855 #161955 #321655
triadic
#161955 #551619 #195516
tetradic
#161955 #551638 #555216 #165532
square
#161955 #551638 #555216 #165532
split-complementary
#161955 #553216 #385516
monochromatic
#060718 #090B24 #161955 #232786 #2F36B6

Accessibility & contrast

On white

16.10
#161955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161955
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161955#FFFFFF#000000##FFFFFF
##1619551.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161955;
/* rgb */ color: rgb(22, 25, 85);
/* oklch */ color: oklch(25.6% 0.106 273.8);
Tailwind
colors: {
  custom: {
    50: '#5d5586',
    500: '#161955',
    950: '#000000',
  },
}
SCSS
$custom: #161955;
$custom-light: #5d5586;
$custom-dark: #000000;
JSON
{
  "hex": "#161955",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 237.143,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2564,
    "c": 0.10647,
    "h": 273.8
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#161955
secondary
#8C883A
accent
#DB46E2
background
#F5F5F8
surface
#E9E8EF
border
#C5C4CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161955

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

Preview Lab → · Contrast checker → · Palette generator →

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