#161F55#161F55

#161F55 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.098 H 271.0°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#161F55
RGBrgb(22, 31, 85)
HSLhsl(231, 59%, 21%)
HSVhsv(231, 74%, 33%)
CMYKcmyk(74.1%, 63.5%, 0%, 66.7%)
CIE-LABlab(14.44, 16.71, -34.03)
CIE-LCHlch(14.44, 37.92, 296.15°)
OKLaboklab(26.89% 0.0018 -0.0981)
OKLCHoklch(26.89% 0.098 271)
XYZxyz(2.4600, 1.8062, 8.8116)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F55 #554C16
analogous
#163E55 #161F55 #2C1655
triadic
#161F55 #55161F #1F5516
tetradic
#161F55 #55163E #554C16 #16552C
square
#161F55 #55163E #554C16 #16552C
split-complementary
#161F55 #552C16 #3E5516
monochromatic
#060918 #090D24 #161F55 #233186 #2F42B6

Accessibility & contrast

On white

15.43
#161F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F55
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F55#FFFFFF#000000##FFFFFF
##161F551.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161f55;
/* rgb */ color: rgb(22, 31, 85);
/* oklch */ color: oklch(26.9% 0.098 271.0);
Tailwind
colors: {
  custom: {
    50: '#5d5a85',
    500: '#161f55',
    950: '#000000',
  },
}
SCSS
$custom: #161f55;
$custom-light: #5d5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#161f55",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 231.429,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26887,
    "c": 0.09809,
    "h": 271
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#161F55
secondary
#8C813A
accent
#CC46E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161F55

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

Preview Lab → · Contrast checker → · Palette generator →

#161F55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva