#161380#161380

#161380 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.170 H 270.6°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#161380
RGBrgb(22, 19, 128)
HSLhsl(242, 74%, 29%)
HSVhsv(242, 85%, 50%)
CMYKcmyk(82.8%, 85.2%, 0%, 49.8%)
CIE-LABlab(16.48, 40.35, -58.83)
CIE-LCHlch(16.48, 71.34, 304.44°)
OKLaboklab(29.77% 0.0018 -0.1703)
OKLCHoklch(29.77% 0.17 270.6)
XYZxyz(4.4587, 2.1943, 20.6064)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161380 #7D8013
analogous
#134780 #161380 #4D1380
triadic
#161380 #801613 #138016
tetradic
#161380 #801347 #7D8013 #13804D
square
#161380 #801347 #7D8013 #13804D
split-complementary
#161380 #804D13 #478013
monochromatic
#05041B #0D0B4B #161380 #1F1BB5 #322DE0

Accessibility & contrast

On white

14.59
#161380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#161380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161380
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161380#FFFFFF#000000##FFFFFF
##1613801.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161380;
/* rgb */ color: rgb(22, 19, 128);
/* oklch */ color: oklch(29.8% 0.170 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a54a6',
    500: '#161380',
    950: '#000000',
  },
}
SCSS
$custom: #161380;
$custom-light: #6a54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161380",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 241.651,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29766,
    "c": 0.1703,
    "h": 270.6
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#161380
secondary
#B2B539
accent
#F137EC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161380

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

Preview Lab → · Contrast checker → · Palette generator →

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