#161B64#161B64

#161B64 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.6% C 0.126 H 271.8°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#161B64
RGBrgb(22, 27, 100)
HSLhsl(236, 64%, 24%)
HSVhsv(236, 78%, 39%)
CMYKcmyk(78%, 73%, 0%, 60.8%)
CIE-LABlab(14.81, 25.59, -43.44)
CIE-LCHlch(14.81, 50.42, 300.50°)
OKLaboklab(27.62% 0.004 -0.1257)
OKLCHoklch(27.62% 0.126 271.8)
XYZxyz(3.0223, 1.8742, 12.2566)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B64 #645F16
analogous
#164264 #161B64 #381664
triadic
#161B64 #64161B #1B6416
tetradic
#161B64 #641642 #645F16 #166438
square
#161B64 #641642 #645F16 #166438
split-complementary
#161B64 #643816 #426416
monochromatic
#060719 #0B0D32 #161B64 #212996 #2C36C8

Accessibility & contrast

On white

15.27
#161B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#161B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B64
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B64#FFFFFF#000000##FFFFFF
##161B641.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161b64;
/* rgb */ color: rgb(22, 27, 100);
/* oklch */ color: oklch(27.6% 0.126 271.8);
Tailwind
colors: {
  custom: {
    50: '#615791',
    500: '#161b64',
    950: '#000000',
  },
}
SCSS
$custom: #161b64;
$custom-light: #615791;
$custom-dark: #000000;
JSON
{
  "hex": "#161b64",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 236.154,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27615,
    "c": 0.12572,
    "h": 271.8
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#161B64
secondary
#9B953B
accent
#DC41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161B64

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

Preview Lab → · Contrast checker → · Palette generator →

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