#161C47#161C47

#161C47 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.080 H 273.2°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#161C47
RGBrgb(22, 28, 71)
HSLhsl(233, 53%, 18%)
HSVhsv(233, 69%, 28%)
CMYKcmyk(69%, 60.6%, 0%, 72.2%)
CIE-LABlab(12.32, 13.20, -27.87)
CIE-LCHlch(12.32, 30.84, 295.35°)
OKLaboklab(24.93% 0.0044 -0.08)
OKLCHoklch(24.93% 0.08 273.2)
XYZxyz(1.8831, 1.4559, 6.1418)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C47 #474116
analogous
#163447 #161C47 #281647
triadic
#161C47 #47161C #1C4716
tetradic
#161C47 #471634 #474116 #164728
square
#161C47 #471634 #474116 #164728
split-complementary
#161C47 #472816 #344716
monochromatic
#070917 #080A18 #161C47 #242E76 #3341A4

Accessibility & contrast

On white

16.26
#161C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C47
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C47#FFFFFF#000000##FFFFFF
##161C471.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022248
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161c47;
/* rgb */ color: rgb(22, 28, 71);
/* oklch */ color: oklch(24.9% 0.080 273.2);
Tailwind
colors: {
  custom: {
    50: '#59577b',
    500: '#161c47',
    950: '#000000',
  },
}
SCSS
$custom: #161c47;
$custom-light: #59577b;
$custom-dark: #000000;
JSON
{
  "hex": "#161c47",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 232.653,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24928,
    "c": 0.08009,
    "h": 273.2
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#161C47
secondary
#7E763A
accent
#CA4CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161C47

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

Preview Lab → · Contrast checker → · Palette generator →

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