#161F47#161F47

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

Color values

HEX#161F47
RGBrgb(22, 31, 71)
HSLhsl(229, 53%, 18%)
HSVhsv(229, 69%, 28%)
CMYKcmyk(69%, 56.3%, 0%, 72.2%)
CIE-LABlab(13.26, 10.93, -26.35)
CIE-LCHlch(13.26, 28.53, 292.53°)
OKLaboklab(25.64% 0.0009 -0.0755)
OKLCHoklch(25.64% 0.075 270.7)
XYZxyz(1.9578, 1.6053, 6.1667)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F47 #473E16
analogous
#163747 #161F47 #251647
triadic
#161F47 #47161F #1F4716
tetradic
#161F47 #471637 #473E16 #164725
square
#161F47 #471637 #473E16 #164725
split-complementary
#161F47 #472516 #374716
monochromatic
#070A17 #080B18 #161F47 #243376 #3348A4

Accessibility & contrast

On white

15.90
#161F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F47
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F47#FFFFFF#000000##FFFFFF
##161F471.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092448
Deuteranopia (green-blind)
#012046
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161f47;
/* rgb */ color: rgb(22, 31, 71);
/* oklch */ color: oklch(25.6% 0.075 270.7);
Tailwind
colors: {
  custom: {
    50: '#595a7a',
    500: '#161f47',
    950: '#000000',
  },
}
SCSS
$custom: #161f47;
$custom-light: #595a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#161f47",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 228.98,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25635,
    "c": 0.07548,
    "h": 270.7
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#161F47
secondary
#7E723A
accent
#C24CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161F47

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

Preview Lab → · Contrast checker → · Palette generator →

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