#161F50#161F50

#161F50 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.090 H 271.0°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#161F50
RGBrgb(22, 31, 80)
HSLhsl(231, 57%, 20%)
HSVhsv(231, 73%, 31%)
CMYKcmyk(72.5%, 61.2%, 0%, 68.6%)
CIE-LABlab(14.00, 14.65, -31.35)
CIE-LCHlch(14.00, 34.60, 295.05°)
OKLaboklab(26.42% 0.0017 -0.0902)
OKLCHoklch(26.42% 0.09 271)
XYZxyz(2.2683, 1.7295, 7.8022)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F50 #504716
analogous
#163C50 #161F50 #2A1650
triadic
#161F50 #50161F #1F5016
tetradic
#161F50 #50163C #504716 #16502A
square
#161F50 #50163C #504716 #16502A
split-complementary
#161F50 #502A16 #3C5016
monochromatic
#070918 #090C20 #161F50 #233280 #3044B0

Accessibility & contrast

On white

15.60
#161F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F50
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F50#FFFFFF#000000##FFFFFF
##161F501.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161f50;
/* rgb */ color: rgb(22, 31, 80);
/* oklch */ color: oklch(26.4% 0.090 271.0);
Tailwind
colors: {
  custom: {
    50: '#5b5a81',
    500: '#161f50',
    950: '#000000',
  },
}
SCSS
$custom: #161f50;
$custom-light: #5b5a81;
$custom-dark: #000000;
JSON
{
  "hex": "#161f50",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 230.69,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.26423,
    "c": 0.09019,
    "h": 271
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#161F50
secondary
#877C3A
accent
#C848E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161F50

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

Preview Lab → · Contrast checker → · Palette generator →

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