#161C5F#161C5F

#161C5F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.3% C 0.117 H 271.9°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#161C5F
RGBrgb(22, 28, 95)
HSLhsl(235, 62%, 23%)
HSVhsv(235, 77%, 37%)
CMYKcmyk(76.8%, 70.5%, 0%, 62.7%)
CIE-LABlab(14.55, 22.94, -40.55)
CIE-LCHlch(14.55, 46.59, 299.49°)
OKLaboklab(27.27% 0.0039 -0.1172)
OKLCHoklch(27.27% 0.117 271.9)
XYZxyz(2.8110, 1.8270, 11.0288)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C5F #5F5916
analogous
#16415F #161C5F #34165F
triadic
#161C5F #5F161C #1C5F16
tetradic
#161C5F #5F1641 #5F5916 #165F34
square
#161C5F #5F1641 #5F5916 #165F34
split-complementary
#161C5F #5F3416 #415F16
monochromatic
#060719 #0A0D2D #161C5F #222B91 #2D39C2

Accessibility & contrast

On white

15.38
#161C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C5F
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C5F#FFFFFF#000000##FFFFFF
##161C5F1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161c5f;
/* rgb */ color: rgb(22, 28, 95);
/* oklch */ color: oklch(27.3% 0.117 271.9);
Tailwind
colors: {
  custom: {
    50: '#60588d',
    500: '#161c5f',
    950: '#000000',
  },
}
SCSS
$custom: #161c5f;
$custom-light: #60588d;
$custom-dark: #000000;
JSON
{
  "hex": "#161c5f",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 235.068,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27268,
    "c": 0.11728,
    "h": 271.9
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#161C5F
secondary
#968F3B
accent
#D842E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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