#161F43#161F43

#161F43 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.069 H 270.3°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#161F43
RGBrgb(22, 31, 67)
HSLhsl(228, 51%, 17%)
HSVhsv(228, 67%, 26%)
CMYKcmyk(67.2%, 53.7%, 0%, 73.7%)
CIE-LABlab(12.96, 9.28, -24.06)
CIE-LCHlch(12.96, 25.79, 291.10°)
OKLaboklab(25.31% 0.0004 -0.0687)
OKLCHoklch(25.31% 0.069 270.3)
XYZxyz(1.8336, 1.5556, 5.5127)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F43 #433A16
analogous
#163643 #161F43 #241643
triadic
#161F43 #43161F #1F4316
tetradic
#161F43 #431636 #433A16 #164324
square
#161F43 #431636 #433A16 #164324
split-complementary
#161F43 #432416 #364316
monochromatic
#080B17 #080B17 #161F43 #253471 #344A9F

Accessibility & contrast

On white

16.02
#161F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F43
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F43#FFFFFF#000000##FFFFFF
##161F431.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2444
Deuteranopia (green-blind)
#062042
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161f43;
/* rgb */ color: rgb(22, 31, 67);
/* oklch */ color: oklch(25.3% 0.069 270.3);
Tailwind
colors: {
  custom: {
    50: '#585a77',
    500: '#161f43',
    950: '#000000',
  },
}
SCSS
$custom: #161f43;
$custom-light: #585a77;
$custom-dark: #000000;
JSON
{
  "hex": "#161f43",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 67
  },
  "hsl": {
    "h": 228,
    "s": 50.562,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25306,
    "c": 0.06873,
    "h": 270.3
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#161F43
secondary
#7A6E3A
accent
#BE4EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161F43

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

Preview Lab → · Contrast checker → · Palette generator →

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