#161B8E#161B8E

#161B8E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.181 H 269.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#161B8E
RGBrgb(22, 27, 142)
HSLhsl(238, 73%, 32%)
HSVhsv(238, 85%, 56%)
CMYKcmyk(84.5%, 81%, 0%, 44.3%)
CIE-LABlab(19.67, 40.87, -62.35)
CIE-LCHlch(19.67, 74.55, 303.24°)
OKLaboklab(32.5% -0.003 -0.1806)
OKLCHoklch(32.5% 0.181 269)
XYZxyz(5.6036, 2.9068, 25.8517)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B8E #8E8916
analogous
#16578E #161B8E #4D168E
triadic
#161B8E #8E161B #1B8E16
tetradic
#161B8E #8E1657 #8E8916 #168E4D
square
#161B8E #8E1657 #8E8916 #168E4D
split-complementary
#161B8E #8E4D16 #578E16
monochromatic
#060724 #0E1159 #161B8E #1E25C3 #3D44E1

Accessibility & contrast

On white

13.28
#161B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#161B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B8E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B8E#FFFFFF#000000##FFFFFF
##161B8E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #161b8e;
/* rgb */ color: rgb(22, 27, 142);
/* oklch */ color: oklch(32.5% 0.181 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d5ab0',
    500: '#161b8e',
    950: '#000000',
  },
}
SCSS
$custom: #161b8e;
$custom-light: #6d5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#161b8e",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 237.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32497,
    "c": 0.18063,
    "h": 269
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#161B8E
secondary
#C1BC3F
accent
#E838F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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