#161F49#161F49

#161F49 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.079 H 270.8°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#161F49
RGBrgb(22, 31, 73)
HSLhsl(229, 54%, 19%)
HSVhsv(229, 70%, 29%)
CMYKcmyk(69.9%, 57.5%, 0%, 71.4%)
CIE-LABlab(13.42, 11.76, -27.48)
CIE-LCHlch(13.42, 29.89, 293.16°)
OKLaboklab(25.81% 0.0011 -0.0788)
OKLCHoklch(25.81% 0.079 270.8)
XYZxyz(2.0231, 1.6314, 6.5103)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F49 #494016
analogous
#163849 #161F49 #261649
triadic
#161F49 #49161F #1F4916
tetradic
#161F49 #491638 #494016 #164926
square
#161F49 #491638 #494016 #164926
split-complementary
#161F49 #492616 #384916
monochromatic
#070A18 #080B1A #161F49 #243378 #3247A7

Accessibility & contrast

On white

15.83
#161F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F49
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F49#FFFFFF#000000##FFFFFF
##161F491.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254A
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161f49;
/* rgb */ color: rgb(22, 31, 73);
/* oklch */ color: oklch(25.8% 0.079 270.8);
Tailwind
colors: {
  custom: {
    50: '#5a5a7c',
    500: '#161f49',
    950: '#000000',
  },
}
SCSS
$custom: #161f49;
$custom-light: #5a5a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#161f49",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 229.412,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25805,
    "c": 0.0788,
    "h": 270.8
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#161F49
secondary
#80743A
accent
#C34BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161F49

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

Preview Lab → · Contrast checker → · Palette generator →

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