#161961#161961

#161961 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.124 H 272.6°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#161961
RGBrgb(22, 25, 97)
HSLhsl(238, 63%, 23%)
HSVhsv(238, 77%, 38%)
CMYKcmyk(77.3%, 74.2%, 0%, 62%)
CIE-LABlab(13.99, 25.79, -42.80)
CIE-LCHlch(13.99, 49.97, 301.07°)
OKLaboklab(26.93% 0.0057 -0.1238)
OKLCHoklch(26.93% 0.124 272.6)
XYZxyz(2.8355, 1.7286, 11.4912)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161961 #615E16
analogous
#163E61 #161961 #381661
triadic
#161961 #611619 #196116
tetradic
#161961 #61163E #615E16 #166138
square
#161961 #61163E #615E16 #166138
split-complementary
#161961 #613816 #3E6116
monochromatic
#060619 #0B0C2F #161961 #212693 #2D33C5

Accessibility & contrast

On white

15.60
#161961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161961
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161961#FFFFFF#000000##FFFFFF
##1619611.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002763
Deuteranopia (green-blind)
#002060
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161961;
/* rgb */ color: rgb(22, 25, 97);
/* oklch */ color: oklch(26.9% 0.124 272.6);
Tailwind
colors: {
  custom: {
    50: '#61568f',
    500: '#161961',
    950: '#000000',
  },
}
SCSS
$custom: #161961;
$custom-light: #61568f;
$custom-dark: #000000;
JSON
{
  "hex": "#161961",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 237.6,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26927,
    "c": 0.12393,
    "h": 272.6
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#161961
secondary
#98943B
accent
#DF42E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #161961

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

Preview Lab → · Contrast checker → · Palette generator →

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