#161760#161760

#161760 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.125 H 273.3°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#161760
RGBrgb(22, 23, 96)
HSLhsl(239, 63%, 23%)
HSVhsv(239, 77%, 38%)
CMYKcmyk(77.1%, 76%, 0%, 62.4%)
CIE-LABlab(13.40, 26.75, -43.12)
CIE-LCHlch(13.40, 50.74, 301.81°)
OKLaboklab(26.47% 0.0071 -0.1247)
OKLCHoklch(26.47% 0.125 273.3)
XYZxyz(2.7479, 1.6276, 11.2334)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161760 #605F16
analogous
#163C60 #161760 #3A1660
triadic
#161760 #601617 #176016
tetradic
#161760 #60163C #605F16 #16603A
square
#161760 #60163C #605F16 #16603A
split-complementary
#161760 #603A16 #3C6016
monochromatic
#060619 #0B0B2E #161760 #212392 #2D2FC4

Accessibility & contrast

On white

15.84
#161760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161760
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161760#FFFFFF#000000##FFFFFF
##1617601.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161760;
/* rgb */ color: rgb(22, 23, 96);
/* oklch */ color: oklch(26.5% 0.125 273.3);
Tailwind
colors: {
  custom: {
    50: '#61548e',
    500: '#161760',
    950: '#000000',
  },
}
SCSS
$custom: #161760;
$custom-light: #61548e;
$custom-dark: #000000;
JSON
{
  "hex": "#161760",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 239.189,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26466,
    "c": 0.12491,
    "h": 273.3
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#161760
secondary
#97963B
accent
#E442E6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #161760

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

Preview Lab → · Contrast checker → · Palette generator →

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