#161B9E#161B9E

#161B9E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.200 H 268.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#161B9E
RGBrgb(22, 27, 158)
HSLhsl(238, 76%, 35%)
HSVhsv(238, 86%, 62%)
CMYKcmyk(86.1%, 82.9%, 0%, 38%)
CIE-LABlab(21.66, 46.17, -68.92)
CIE-LCHlch(21.66, 82.95, 303.82°)
OKLaboklab(34.46% -0.006 -0.1996)
OKLCHoklch(34.46% 0.2 268.3)
XYZxyz(6.8922, 3.4222, 32.6384)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B9E #9E9916
analogous
#165F9E #161B9E #55169E
triadic
#161B9E #9E161B #1B9E16
tetradic
#161B9E #9E165F #9E9916 #169E55
square
#161B9E #9E165F #9E9916 #169E55
split-complementary
#161B9E #9E5516 #5F9E16
monochromatic
#070933 #0F1268 #161B9E #1D24D4 #494FE6

Accessibility & contrast

On white

12.47
#161B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#161B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B9E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B9E#FFFFFF#000000##FFFFFF
##161B9E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #161b9e;
/* rgb */ color: rgb(22, 27, 158);
/* oklch */ color: oklch(34.5% 0.200 268.3);
Tailwind
colors: {
  custom: {
    50: '#725bbc',
    500: '#161b9e',
    950: '#000000',
  },
}
SCSS
$custom: #161b9e;
$custom-light: #725bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#161b9e",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 237.794,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34462,
    "c": 0.1997,
    "h": 268.3
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#161B9E
secondary
#C7C249
accent
#EB36F2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #161B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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