#161960#161960

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

Color values

HEX#161960
RGBrgb(22, 25, 96)
HSLhsl(238, 63%, 23%)
HSVhsv(238, 77%, 38%)
CMYKcmyk(77.1%, 74%, 0%, 62.4%)
CIE-LABlab(13.89, 25.40, -42.31)
CIE-LCHlch(13.89, 49.35, 300.98°)
OKLaboklab(26.82% 0.0058 -0.1224)
OKLCHoklch(26.82% 0.123 272.7)
XYZxyz(2.7891, 1.7101, 11.2472)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161960 #605D16
analogous
#163E60 #161960 #381660
triadic
#161960 #601619 #196016
tetradic
#161960 #60163E #605D16 #166038
square
#161960 #60163E #605D16 #166038
split-complementary
#161960 #603816 #3E6016
monochromatic
#060619 #0B0C2E #161960 #212692 #2D33C4

Accessibility & contrast

On white

15.65
#161960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161960
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161960#FFFFFF#000000##FFFFFF
##1619601.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161960;
/* rgb */ color: rgb(22, 25, 96);
/* oklch */ color: oklch(26.8% 0.123 272.7);
Tailwind
colors: {
  custom: {
    50: '#60568e',
    500: '#161960',
    950: '#000000',
  },
}
SCSS
$custom: #161960;
$custom-light: #60568e;
$custom-dark: #000000;
JSON
{
  "hex": "#161960",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 237.568,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26817,
    "c": 0.12251,
    "h": 272.7
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#161960
secondary
#97933B
accent
#DF42E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161960

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

Preview Lab → · Contrast checker → · Palette generator →

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