#161F4A#161F4A

#161F4A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.080 H 270.9°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#161F4A
RGBrgb(22, 31, 74)
HSLhsl(230, 54%, 19%)
HSVhsv(230, 70%, 29%)
CMYKcmyk(70.3%, 58.1%, 0%, 71%)
CIE-LABlab(13.50, 12.17, -28.04)
CIE-LCHlch(13.50, 30.57, 293.46°)
OKLaboklab(25.89% 0.0012 -0.0804)
OKLCHoklch(25.89% 0.08 270.9)
XYZxyz(2.0565, 1.6448, 6.6863)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F4A #4A4116
analogous
#16394A #161F4A #27164A
triadic
#161F4A #4A161F #1F4A16
tetradic
#161F4A #4A1639 #4A4116 #164A27
square
#161F4A #4A1639 #4A4116 #164A27
split-complementary
#161F4A #4A2716 #394A16
monochromatic
#070A18 #080B1B #161F4A #243379 #3247A8

Accessibility & contrast

On white

15.80
#161F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F4A
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F4A#FFFFFF#000000##FFFFFF
##161F4A1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161f4a;
/* rgb */ color: rgb(22, 31, 74);
/* oklch */ color: oklch(25.9% 0.080 270.9);
Tailwind
colors: {
  custom: {
    50: '#5a5a7d',
    500: '#161f4a',
    950: '#000000',
  },
}
SCSS
$custom: #161f4a;
$custom-light: #5a5a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#161f4a",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 229.615,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25891,
    "c": 0.08045,
    "h": 270.9
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#161F4A
secondary
#82753A
accent
#C44ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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