#161C60#161C60

#161C60 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.4% C 0.119 H 271.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#161C60
RGBrgb(22, 28, 96)
HSLhsl(235, 63%, 23%)
HSVhsv(235, 77%, 38%)
CMYKcmyk(77.1%, 70.8%, 0%, 62.4%)
CIE-LABlab(14.65, 23.33, -41.05)
CIE-LCHlch(14.65, 47.22, 299.61°)
OKLaboklab(27.37% 0.0038 -0.1187)
OKLCHoklch(27.37% 0.119 271.8)
XYZxyz(2.8567, 1.8453, 11.2697)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C60 #605A16
analogous
#164160 #161C60 #351660
triadic
#161C60 #60161C #1C6016
tetradic
#161C60 #601641 #605A16 #166035
square
#161C60 #601641 #605A16 #166035
split-complementary
#161C60 #603516 #416016
monochromatic
#060719 #0B0D2E #161C60 #212B92 #2D39C4

Accessibility & contrast

On white

15.34
#161C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C60
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C60#FFFFFF#000000##FFFFFF
##161C601.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161c60;
/* rgb */ color: rgb(22, 28, 96);
/* oklch */ color: oklch(27.4% 0.119 271.8);
Tailwind
colors: {
  custom: {
    50: '#60588e',
    500: '#161c60',
    950: '#000000',
  },
}
SCSS
$custom: #161c60;
$custom-light: #60588e;
$custom-dark: #000000;
JSON
{
  "hex": "#161c60",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 235.135,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27373,
    "c": 0.11873,
    "h": 271.8
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#161C60
secondary
#978F3B
accent
#D842E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161C60

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

Preview Lab → · Contrast checker → · Palette generator →

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