#161C45#161C45

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

Color values

HEX#161C45
RGBrgb(22, 28, 69)
HSLhsl(232, 52%, 18%)
HSVhsv(232, 68%, 27%)
CMYKcmyk(68.1%, 59.4%, 0%, 72.9%)
CIE-LABlab(12.16, 12.39, -26.74)
CIE-LCHlch(12.16, 29.47, 294.86°)
OKLaboklab(24.75% 0.0043 -0.0767)
OKLCHoklch(24.75% 0.077 273.2)
XYZxyz(1.8200, 1.4306, 5.8093)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C45 #453F16
analogous
#163345 #161C45 #271645
triadic
#161C45 #45161C #1C4516
tetradic
#161C45 #451633 #453F16 #164527
square
#161C45 #451633 #453F16 #164527
split-complementary
#161C45 #452716 #334516
monochromatic
#070917 #070917 #161C45 #252F73 #3442A2

Accessibility & contrast

On white

16.33
#161C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C45
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C45#FFFFFF#000000##FFFFFF
##161C451.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042246
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161c45;
/* rgb */ color: rgb(22, 28, 69);
/* oklch */ color: oklch(24.8% 0.077 273.2);
Tailwind
colors: {
  custom: {
    50: '#595779',
    500: '#161c45',
    950: '#000000',
  },
}
SCSS
$custom: #161c45;
$custom-light: #595779;
$custom-dark: #000000;
JSON
{
  "hex": "#161c45",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 232.34,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24752,
    "c": 0.07678,
    "h": 273.2
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#161C45
secondary
#7C743A
accent
#C94DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161C45

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

Preview Lab → · Contrast checker → · Palette generator →

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