#161B61#161B61

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

Color values

HEX#161B61
RGBrgb(22, 27, 97)
HSLhsl(236, 63%, 23%)
HSVhsv(236, 77%, 38%)
CMYKcmyk(77.3%, 72.2%, 0%, 62%)
CIE-LABlab(14.50, 24.42, -41.97)
CIE-LCHlch(14.50, 48.56, 300.19°)
OKLaboklab(27.29% 0.0044 -0.1214)
OKLCHoklch(27.29% 0.121 272.1)
XYZxyz(2.8798, 1.8172, 11.5059)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B61 #615C16
analogous
#164061 #161B61 #361661
triadic
#161B61 #61161B #1B6116
tetradic
#161B61 #611640 #615C16 #166136
square
#161B61 #611640 #615C16 #166136
split-complementary
#161B61 #613616 #406116
monochromatic
#060719 #0B0D2F #161B61 #212993 #2D37C5

Accessibility & contrast

On white

15.40
#161B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B61
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B61#FFFFFF#000000##FFFFFF
##161B611.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#002160
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161b61;
/* rgb */ color: rgb(22, 27, 97);
/* oklch */ color: oklch(27.3% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#60578f',
    500: '#161b61',
    950: '#000000',
  },
}
SCSS
$custom: #161b61;
$custom-light: #60578f;
$custom-dark: #000000;
JSON
{
  "hex": "#161b61",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 236,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27291,
    "c": 0.12145,
    "h": 272.1
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161B61

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

Preview Lab → · Contrast checker → · Palette generator →

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