#161861#161861

#161861 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.125 H 272.9°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#161861
RGBrgb(22, 24, 97)
HSLhsl(238, 63%, 23%)
HSVhsv(238, 77%, 38%)
CMYKcmyk(77.3%, 75.3%, 0%, 62%)
CIE-LABlab(13.75, 26.46, -43.21)
CIE-LCHlch(13.75, 50.67, 301.49°)
OKLaboklab(26.75% 0.0063 -0.125)
OKLCHoklch(26.75% 0.125 272.9)
XYZxyz(2.8145, 1.6866, 11.4842)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161861 #615F16
analogous
#163D61 #161861 #391661
triadic
#161861 #611618 #186116
tetradic
#161861 #61163D #615F16 #166139
square
#161861 #61163D #615F16 #166139
split-complementary
#161861 #613916 #3D6116
monochromatic
#060619 #0B0C2F #161861 #212493 #2D31C5

Accessibility & contrast

On white

15.70
#161861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161861
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161861#FFFFFF#000000##FFFFFF
##1618611.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002763
Deuteranopia (green-blind)
#001F60
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161861;
/* rgb */ color: rgb(22, 24, 97);
/* oklch */ color: oklch(26.8% 0.125 272.9);
Tailwind
colors: {
  custom: {
    50: '#61558f',
    500: '#161861',
    950: '#000000',
  },
}
SCSS
$custom: #161861;
$custom-light: #61558f;
$custom-dark: #000000;
JSON
{
  "hex": "#161861",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 238.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26751,
    "c": 0.12513,
    "h": 272.9
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#161861
secondary
#98953B
accent
#E242E6
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #161861

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

Preview Lab → · Contrast checker → · Palette generator →

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