#161280#161280

#161280 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.171 H 270.7°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#161280
RGBrgb(22, 18, 128)
HSLhsl(242, 75%, 29%)
HSVhsv(242, 86%, 50%)
CMYKcmyk(82.8%, 85.9%, 0%, 49.8%)
CIE-LABlab(16.31, 40.83, -59.11)
CIE-LCHlch(16.31, 71.84, 304.64°)
OKLaboklab(29.65% 0.002 -0.1711)
OKLCHoklch(29.65% 0.171 270.7)
XYZxyz(4.4421, 2.1612, 20.6009)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161280 #7C8012
analogous
#124580 #161280 #4D1280
triadic
#161280 #801612 #128016
tetradic
#161280 #801245 #7C8012 #12804D
square
#161280 #801245 #7C8012 #12804D
split-complementary
#161280 #804D12 #458012
monochromatic
#05041B #0D0A4A #161280 #1F1AB6 #322BE1

Accessibility & contrast

On white

14.66
#161280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161280
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161280#FFFFFF#000000##FFFFFF
##1612801.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161280;
/* rgb */ color: rgb(22, 18, 128);
/* oklch */ color: oklch(29.7% 0.171 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a54a6',
    500: '#161280',
    950: '#000000',
  },
}
SCSS
$custom: #161280;
$custom-light: #6a54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161280",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 242.182,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29652,
    "c": 0.17107,
    "h": 270.7
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#161280
secondary
#B1B638
accent
#F236EB
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161280

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

Preview Lab → · Contrast checker → · Palette generator →

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