#161B65#161B65

#161B65 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.127 H 271.7°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#161B65
RGBrgb(22, 27, 101)
HSLhsl(236, 64%, 24%)
HSVhsv(236, 78%, 40%)
CMYKcmyk(78.2%, 73.3%, 0%, 60.4%)
CIE-LABlab(14.92, 25.98, -43.93)
CIE-LCHlch(14.92, 51.04, 300.60°)
OKLaboklab(27.72% 0.0039 -0.1271)
OKLCHoklch(27.72% 0.127 271.7)
XYZxyz(3.0710, 1.8937, 12.5131)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B65 #656016
analogous
#164365 #161B65 #391665
triadic
#161B65 #65161B #1B6516
tetradic
#161B65 #651643 #656016 #166539
square
#161B65 #651643 #656016 #166539
split-complementary
#161B65 #653916 #436516
monochromatic
#050719 #0B0E33 #161B65 #212897 #2C36CA

Accessibility & contrast

On white

15.23
#161B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B65
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B65#FFFFFF#000000##FFFFFF
##161B651.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161b65;
/* rgb */ color: rgb(22, 27, 101);
/* oklch */ color: oklch(27.7% 0.127 271.7);
Tailwind
colors: {
  custom: {
    50: '#625792',
    500: '#161b65',
    950: '#000000',
  },
}
SCSS
$custom: #161b65;
$custom-light: #625792;
$custom-dark: #000000;
JSON
{
  "hex": "#161b65",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 236.203,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27724,
    "c": 0.12714,
    "h": 271.7
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#161B65
secondary
#9C963B
accent
#DD41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161B65

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

Preview Lab → · Contrast checker → · Palette generator →

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