#161261#161261

#161261 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.132 H 274.2°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#161261
RGBrgb(22, 18, 97)
HSLhsl(243, 69%, 23%)
HSVhsv(243, 81%, 38%)
CMYKcmyk(77.3%, 81.4%, 0%, 62%)
CIE-LABlab(12.39, 30.27, -45.45)
CIE-LCHlch(12.39, 54.60, 303.66°)
OKLaboklab(25.79% 0.0097 -0.1315)
OKLCHoklch(25.79% 0.132 274.2)
XYZxyz(2.7041, 1.4660, 11.4474)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161261 #5D6112
analogous
#123561 #161261 #3E1261
triadic
#161261 #611612 #126116
tetradic
#161261 #611235 #5D6112 #12613E
square
#161261 #611235 #5D6112 #12613E
split-complementary
#161261 #613E12 #356112
monochromatic
#06051A #0A082D #161261 #221C95 #2D25C8

Accessibility & contrast

On white

16.24
#161261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161261
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161261#FFFFFF#000000##FFFFFF
##1612611.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#001D60
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161261;
/* rgb */ color: rgb(22, 18, 97);
/* oklch */ color: oklch(25.8% 0.132 274.2);
Tailwind
colors: {
  custom: {
    50: '#61518f',
    500: '#161261',
    950: '#000000',
  },
}
SCSS
$custom: #161261;
$custom-light: #61518f;
$custom-dark: #000000;
JSON
{
  "hex": "#161261",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 243.038,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25785,
    "c": 0.13182,
    "h": 274.2
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#161261
secondary
#949936
accent
#EC3CE3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #161261

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

Preview Lab → · Contrast checker → · Palette generator →

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