#161A8E#161A8E

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

Color values

HEX#161A8E
RGBrgb(22, 26, 142)
HSLhsl(238, 73%, 32%)
HSVhsv(238, 85%, 56%)
CMYKcmyk(84.5%, 81.7%, 0%, 44.3%)
CIE-LABlab(19.48, 41.40, -62.66)
CIE-LCHlch(19.48, 75.10, 303.46°)
OKLaboklab(32.37% -0.0028 -0.1815)
OKLCHoklch(32.37% 0.182 269.1)
XYZxyz(5.5811, 2.8617, 25.8442)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A8E #8E8A16
analogous
#16568E #161A8E #4E168E
triadic
#161A8E #8E161A #1A8E16
tetradic
#161A8E #8E1656 #8E8A16 #168E4E
square
#161A8E #8E1656 #8E8A16 #168E4E
split-complementary
#161A8E #8E4E16 #568E16
monochromatic
#060724 #0E1059 #161A8E #1E24C3 #3D43E1

Accessibility & contrast

On white

13.36
#161A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#161A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A8E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A8E#FFFFFF#000000##FFFFFF
##161A8E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #161a8e;
/* rgb */ color: rgb(22, 26, 142);
/* oklch */ color: oklch(32.4% 0.181 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d59b0',
    500: '#161a8e',
    950: '#000000',
  },
}
SCSS
$custom: #161a8e;
$custom-light: #6d59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#161a8e",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 238,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32367,
    "c": 0.1815,
    "h": 269.1
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#161A8E
secondary
#C1BD3F
accent
#EA38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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