#161B60#161B60

#161B60 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.120 H 272.1°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#161B60
RGBrgb(22, 27, 96)
HSLhsl(236, 63%, 23%)
HSVhsv(236, 77%, 38%)
CMYKcmyk(77.1%, 71.9%, 0%, 62.4%)
CIE-LABlab(14.39, 24.03, -41.48)
CIE-LCHlch(14.39, 47.94, 300.08°)
OKLaboklab(27.18% 0.0045 -0.1199)
OKLCHoklch(27.18% 0.12 272.1)
XYZxyz(2.8334, 1.7987, 11.2619)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B60 #605B16
analogous
#164060 #161B60 #361660
triadic
#161B60 #60161B #1B6016
tetradic
#161B60 #601640 #605B16 #166036
square
#161B60 #601640 #605B16 #166036
split-complementary
#161B60 #603616 #406016
monochromatic
#060719 #0B0D2E #161B60 #212992 #2D37C4

Accessibility & contrast

On white

15.44
#161B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B60
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B60#FFFFFF#000000##FFFFFF
##161B601.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b60;
/* rgb */ color: rgb(22, 27, 96);
/* oklch */ color: oklch(27.2% 0.120 272.1);
Tailwind
colors: {
  custom: {
    50: '#60578e',
    500: '#161b60',
    950: '#000000',
  },
}
SCSS
$custom: #161b60;
$custom-light: #60578e;
$custom-dark: #000000;
JSON
{
  "hex": "#161b60",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 235.946,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27184,
    "c": 0.12001,
    "h": 272.1
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#161B60
secondary
#97913B
accent
#DB42E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161B60

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

Preview Lab → · Contrast checker → · Palette generator →

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