#161681#161681

#161681 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.169 H 270.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#161681
RGBrgb(22, 22, 129)
HSLhsl(240, 71%, 30%)
HSVhsv(240, 83%, 51%)
CMYKcmyk(82.9%, 82.9%, 0%, 49.4%)
CIE-LABlab(17.13, 39.15, -58.39)
CIE-LCHlch(17.13, 70.30, 303.84°)
OKLaboklab(30.25% 0.0008 -0.1691)
OKLCHoklch(30.25% 0.169 270.3)
XYZxyz(4.5789, 2.3288, 20.9728)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161681 #818116
analogous
#164C81 #161681 #4C1681
triadic
#161681 #811616 #168116
tetradic
#161681 #81164C #818116 #16814C
square
#161681 #81164C #818116 #16814C
split-complementary
#161681 #814C16 #4C8116
monochromatic
#04041A #0D0D4D #161681 #1F1FB5 #3535DD

Accessibility & contrast

On white

14.33
#161681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#161681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161681
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161681#FFFFFF#000000##FFFFFF
##1616811.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00247F
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161681;
/* rgb */ color: rgb(22, 22, 129);
/* oklch */ color: oklch(30.3% 0.169 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a56a7',
    500: '#161681',
    950: '#000000',
  },
}
SCSS
$custom: #161681;
$custom-light: #6a56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#161681",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 240,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30254,
    "c": 0.16906,
    "h": 270.3
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#161681
secondary
#B6B63D
accent
#EE3AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161681

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

Preview Lab → · Contrast checker → · Palette generator →

#161681 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva