#161C40#161C40

#161C40 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.068 H 273.2°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#161C40
RGBrgb(22, 28, 64)
HSLhsl(231, 49%, 17%)
HSVhsv(231, 66%, 25%)
CMYKcmyk(65.6%, 56.2%, 0%, 74.9%)
CIE-LABlab(11.76, 10.34, -23.88)
CIE-LCHlch(11.76, 26.02, 293.43°)
OKLaboklab(24.33% 0.0038 -0.0682)
OKLCHoklch(24.33% 0.068 273.2)
XYZxyz(1.6712, 1.3711, 5.0261)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C40 #403A16
analogous
#163140 #161C40 #251640
triadic
#161C40 #40161C #1C4016
tetradic
#161C40 #401631 #403A16 #164025
square
#161C40 #401631 #403A16 #164025
split-complementary
#161C40 #402516 #314016
monochromatic
#080A17 #080A17 #161C40 #26306E #35449B

Accessibility & contrast

On white

16.48
#161C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C40
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C40#FFFFFF#000000##FFFFFF
##161C401.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2141
Deuteranopia (green-blind)
#041D3F
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161c40;
/* rgb */ color: rgb(22, 28, 64);
/* oklch */ color: oklch(24.3% 0.068 273.2);
Tailwind
colors: {
  custom: {
    50: '#585775',
    500: '#161c40',
    950: '#000000',
  },
}
SCSS
$custom: #161c40;
$custom-light: #585775;
$custom-dark: #000000;
JSON
{
  "hex": "#161c40",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 231.429,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24327,
    "c": 0.06832,
    "h": 273.2
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#161C40
secondary
#776F3B
accent
#C54FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161C40

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

Preview Lab → · Contrast checker → · Palette generator →

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