#161B6E#161B6E

#161B6E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.140 H 271.1°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#161B6E
RGBrgb(22, 27, 110)
HSLhsl(237, 67%, 26%)
HSVhsv(237, 80%, 43%)
CMYKcmyk(80%, 75.5%, 0%, 56.9%)
CIE-LABlab(15.90, 29.42, -48.21)
CIE-LCHlch(15.90, 56.48, 301.39°)
OKLaboklab(28.73% 0.0026 -0.1396)
OKLCHoklch(28.73% 0.14 271.1)
XYZxyz(3.5363, 2.0798, 14.9639)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B6E #6E6916
analogous
#16476E #161B6E #3D166E
triadic
#161B6E #6E161B #1B6E16
tetradic
#161B6E #6E1647 #6E6916 #166E3D
square
#161B6E #6E1647 #6E6916 #166E3D
split-complementary
#161B6E #6E3D16 #476E16
monochromatic
#05061A #0C0E3B #161B6E #2028A1 #2A34D4

Accessibility & contrast

On white

14.83
#161B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B6E
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B6E#FFFFFF#000000##FFFFFF
##161B6E1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161b6e;
/* rgb */ color: rgb(22, 27, 110);
/* oklch */ color: oklch(28.7% 0.140 271.1);
Tailwind
colors: {
  custom: {
    50: '#645899',
    500: '#161b6e',
    950: '#000000',
  },
}
SCSS
$custom: #161b6e;
$custom-light: #645899;
$custom-dark: #000000;
JSON
{
  "hex": "#161b6e",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 236.591,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28726,
    "c": 0.13959,
    "h": 271.1
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#161B6E
secondary
#A49E3C
accent
#E03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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