#161F46#161F46

#161F46 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.074 H 270.6°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#161F46
RGBrgb(22, 31, 70)
HSLhsl(229, 52%, 18%)
HSVhsv(229, 69%, 27%)
CMYKcmyk(68.6%, 55.7%, 0%, 72.5%)
CIE-LABlab(13.19, 10.52, -25.78)
CIE-LCHlch(13.19, 27.85, 292.19°)
OKLaboklab(25.55% 0.0008 -0.0738)
OKLCHoklch(25.55% 0.074 270.6)
XYZxyz(1.9260, 1.5926, 5.9991)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F46 #463D16
analogous
#163746 #161F46 #251646
triadic
#161F46 #46161F #1F4616
tetradic
#161F46 #461637 #463D16 #164625
square
#161F46 #461637 #463D16 #164625
split-complementary
#161F46 #462516 #374616
monochromatic
#070A17 #070A17 #161F46 #253475 #3348A3

Accessibility & contrast

On white

15.93
#161F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F46
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F46#FFFFFF#000000##FFFFFF
##161F461.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2447
Deuteranopia (green-blind)
#032045
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161f46;
/* rgb */ color: rgb(22, 31, 70);
/* oklch */ color: oklch(25.6% 0.074 270.6);
Tailwind
colors: {
  custom: {
    50: '#595a7a',
    500: '#161f46',
    950: '#000000',
  },
}
SCSS
$custom: #161f46;
$custom-light: #595a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#161f46",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 228.75,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25551,
    "c": 0.0738,
    "h": 270.6
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#161F46
secondary
#7D713A
accent
#C14CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161F46

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

Preview Lab → · Contrast checker → · Palette generator →

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