#161F48#161F48

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

Color values

HEX#161F48
RGBrgb(22, 31, 72)
HSLhsl(229, 53%, 18%)
HSVhsv(229, 69%, 28%)
CMYKcmyk(69.4%, 56.9%, 0%, 71.8%)
CIE-LABlab(13.34, 11.34, -26.92)
CIE-LCHlch(13.34, 29.21, 292.85°)
OKLaboklab(25.72% 0.001 -0.0771)
OKLCHoklch(25.72% 0.077 270.8)
XYZxyz(1.9902, 1.6183, 6.3371)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F48 #483F16
analogous
#163848 #161F48 #261648
triadic
#161F48 #48161F #1F4816
tetradic
#161F48 #481638 #483F16 #164826
square
#161F48 #481638 #483F16 #164826
split-complementary
#161F48 #482616 #384816
monochromatic
#070A17 #080B19 #161F48 #243377 #3347A6

Accessibility & contrast

On white

15.87
#161F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F48
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F48#FFFFFF#000000##FFFFFF
##161F481.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082549
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161f48;
/* rgb */ color: rgb(22, 31, 72);
/* oklch */ color: oklch(25.7% 0.077 270.8);
Tailwind
colors: {
  custom: {
    50: '#595a7b',
    500: '#161f48',
    950: '#000000',
  },
}
SCSS
$custom: #161f48;
$custom-light: #595a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#161f48",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 229.2,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25719,
    "c": 0.07715,
    "h": 270.8
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#161F48
secondary
#7F733A
accent
#C24BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161F48

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

Preview Lab → · Contrast checker → · Palette generator →

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