#161680#161680

#161680 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.168 H 270.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#161680
RGBrgb(22, 22, 128)
HSLhsl(240, 71%, 29%)
HSVhsv(240, 83%, 50%)
CMYKcmyk(82.8%, 82.8%, 0%, 49.8%)
CIE-LABlab(17.00, 38.81, -57.96)
CIE-LCHlch(17.00, 69.76, 303.80°)
OKLaboklab(30.13% 0.0011 -0.1678)
OKLCHoklch(30.13% 0.168 270.4)
XYZxyz(4.5127, 2.3024, 20.6245)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161680 #808016
analogous
#164B80 #161680 #4B1680
triadic
#161680 #801616 #168016
tetradic
#161680 #80164B #808016 #16804B
square
#161680 #80164B #808016 #16804B
split-complementary
#161680 #804B16 #4B8016
monochromatic
#04041A #0D0D4C #161680 #1F1FB4 #3434DC

Accessibility & contrast

On white

14.38
#161680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#161680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161680
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161680#FFFFFF#000000##FFFFFF
##1616801.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161680;
/* rgb */ color: rgb(22, 22, 128);
/* oklch */ color: oklch(30.1% 0.168 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a56a6',
    500: '#161680',
    950: '#000000',
  },
}
SCSS
$custom: #161680;
$custom-light: #6a56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161680",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3013,
    "c": 0.16783,
    "h": 270.4
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#161680
secondary
#B5B53D
accent
#ED3AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #161680

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

Preview Lab → · Contrast checker → · Palette generator →

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