#161B66#161B66

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

Color values

HEX#161B66
RGBrgb(22, 27, 102)
HSLhsl(236, 65%, 24%)
HSVhsv(236, 78%, 40%)
CMYKcmyk(78.4%, 73.5%, 0%, 60%)
CIE-LABlab(15.03, 26.37, -44.41)
CIE-LCHlch(15.03, 51.65, 300.70°)
OKLaboklab(27.83% 0.0038 -0.1285)
OKLCHoklch(27.83% 0.129 271.7)
XYZxyz(3.1203, 1.9134, 12.7727)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B66 #666116
analogous
#164366 #161B66 #391666
triadic
#161B66 #66161B #1B6616
tetradic
#161B66 #661643 #666116 #166639
square
#161B66 #661643 #666116 #166639
split-complementary
#161B66 #663916 #436616
monochromatic
#050719 #0B0E34 #161B66 #212898 #2C36CB

Accessibility & contrast

On white

15.19
#161B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B66
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B66#FFFFFF#000000##FFFFFF
##161B661.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161b66;
/* rgb */ color: rgb(22, 27, 102);
/* oklch */ color: oklch(27.8% 0.129 271.7);
Tailwind
colors: {
  custom: {
    50: '#625792',
    500: '#161b66',
    950: '#000000',
  },
}
SCSS
$custom: #161b66;
$custom-light: #625792;
$custom-dark: #000000;
JSON
{
  "hex": "#161b66",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 236.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27834,
    "c": 0.12854,
    "h": 271.7
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#161B66
secondary
#9D973B
accent
#DD40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161B66

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

Preview Lab → · Contrast checker → · Palette generator →

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