#161764#161764

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

Color values

HEX#161764
RGBrgb(22, 23, 100)
HSLhsl(239, 64%, 24%)
HSVhsv(239, 78%, 39%)
CMYKcmyk(78%, 77%, 0%, 60.8%)
CIE-LABlab(13.85, 28.25, -45.04)
CIE-LCHlch(13.85, 53.16, 302.10°)
OKLaboklab(26.92% 0.0064 -0.1303)
OKLCHoklch(26.92% 0.13 272.8)
XYZxyz(2.9368, 1.7032, 12.2281)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161764 #646316
analogous
#163E64 #161764 #3C1664
triadic
#161764 #641617 #176416
tetradic
#161764 #64163E #646316 #16643C
square
#161764 #64163E #646316 #16643C
split-complementary
#161764 #643C16 #3E6416
monochromatic
#060619 #0B0B32 #161764 #212396 #2C2EC8

Accessibility & contrast

On white

15.66
#161764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161764
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161764#FFFFFF#000000##FFFFFF
##1617641.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161764;
/* rgb */ color: rgb(22, 23, 100);
/* oklch */ color: oklch(26.9% 0.130 272.8);
Tailwind
colors: {
  custom: {
    50: '#625591',
    500: '#161764',
    950: '#000000',
  },
}
SCSS
$custom: #161764;
$custom-light: #625591;
$custom-dark: #000000;
JSON
{
  "hex": "#161764",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 239.231,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2692,
    "c": 0.13046,
    "h": 272.8
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#161764
secondary
#9B9A3B
accent
#E541E7
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161764

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

Preview Lab → · Contrast checker → · Palette generator →

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