#161964#161964

#161964 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.128 H 272.3°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#161964
RGBrgb(22, 25, 100)
HSLhsl(238, 64%, 24%)
HSVhsv(238, 78%, 39%)
CMYKcmyk(78%, 75%, 0%, 60.8%)
CIE-LABlab(14.32, 26.94, -44.25)
CIE-LCHlch(14.32, 51.81, 301.33°)
OKLaboklab(27.26% 0.0052 -0.128)
OKLCHoklch(27.26% 0.128 272.3)
XYZxyz(2.9780, 1.7856, 12.2418)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161964 #646116
analogous
#164064 #161964 #3A1664
triadic
#161964 #641619 #196416
tetradic
#161964 #641640 #646116 #16643A
square
#161964 #641640 #646116 #16643A
split-complementary
#161964 #643A16 #406416
monochromatic
#060619 #0B0C32 #161964 #212696 #2C32C8

Accessibility & contrast

On white

15.47
#161964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161964
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161964#FFFFFF#000000##FFFFFF
##1619641.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161964;
/* rgb */ color: rgb(22, 25, 100);
/* oklch */ color: oklch(27.3% 0.128 272.3);
Tailwind
colors: {
  custom: {
    50: '#615691',
    500: '#161964',
    950: '#000000',
  },
}
SCSS
$custom: #161964;
$custom-light: #615691;
$custom-dark: #000000;
JSON
{
  "hex": "#161964",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 237.692,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2726,
    "c": 0.12814,
    "h": 272.3
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#161964
secondary
#9B973B
accent
#E141E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161964

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

Preview Lab → · Contrast checker → · Palette generator →

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