#161A87#161A87

#161A87 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.173 H 269.5°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#161A87
RGBrgb(22, 26, 135)
HSLhsl(238, 72%, 31%)
HSVhsv(238, 84%, 53%)
CMYKcmyk(83.7%, 80.7%, 0%, 47.1%)
CIE-LABlab(18.62, 39.02, -59.70)
CIE-LCHlch(18.62, 71.33, 303.17°)
OKLaboklab(31.51% -0.0014 -0.1729)
OKLCHoklch(31.51% 0.173 269.5)
XYZxyz(5.0720, 2.6580, 23.1627)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A87 #878316
analogous
#165287 #161A87 #4A1687
triadic
#161A87 #87161A #1A8716
tetradic
#161A87 #871652 #878316 #16874A
square
#161A87 #871652 #878316 #16874A
split-complementary
#161A87 #874A16 #528716
monochromatic
#05061E #0D1052 #161A87 #1F24BC #393FDF

Accessibility & contrast

On white

13.71
#161A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#161A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A87
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A87#FFFFFF#000000##FFFFFF
##161A871.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002785
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161a87;
/* rgb */ color: rgb(22, 26, 135);
/* oklch */ color: oklch(31.5% 0.173 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b59ab',
    500: '#161a87',
    950: '#000000',
  },
}
SCSS
$custom: #161a87;
$custom-light: #6b59ab;
$custom-dark: #000000;
JSON
{
  "hex": "#161a87",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 237.876,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31514,
    "c": 0.17294,
    "h": 269.5
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#161A87
secondary
#BBB73E
accent
#E839EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161A87

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

Preview Lab → · Contrast checker → · Palette generator →

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