#161B63#161B63

#161B63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.5% C 0.124 H 271.9°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#161B63
RGBrgb(22, 27, 99)
HSLhsl(236, 64%, 24%)
HSVhsv(236, 78%, 39%)
CMYKcmyk(77.8%, 72.7%, 0%, 61.2%)
CIE-LABlab(14.71, 25.20, -42.95)
CIE-LCHlch(14.71, 49.80, 300.40°)
OKLaboklab(27.51% 0.0041 -0.1242)
OKLCHoklch(27.51% 0.124 271.9)
XYZxyz(2.9742, 1.8550, 12.0033)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B63 #635E16
analogous
#164163 #161B63 #371663
triadic
#161B63 #63161B #1B6316
tetradic
#161B63 #631641 #635E16 #166337
square
#161B63 #631641 #635E16 #166337
split-complementary
#161B63 #633716 #416316
monochromatic
#060719 #0B0D31 #161B63 #212995 #2C36C7

Accessibility & contrast

On white

15.32
#161B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B63
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B63#FFFFFF#000000##FFFFFF
##161B631.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161b63;
/* rgb */ color: rgb(22, 27, 99);
/* oklch */ color: oklch(27.5% 0.124 271.9);
Tailwind
colors: {
  custom: {
    50: '#615790',
    500: '#161b63',
    950: '#000000',
  },
}
SCSS
$custom: #161b63;
$custom-light: #615790;
$custom-dark: #000000;
JSON
{
  "hex": "#161b63",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 236.104,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27507,
    "c": 0.12431,
    "h": 271.9
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#161B63
secondary
#9A943B
accent
#DC41E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #161B63

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

Preview Lab → · Contrast checker → · Palette generator →

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