#161966#161966

#161966 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.131 H 272.2°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#161966
RGBrgb(22, 25, 102)
HSLhsl(238, 65%, 24%)
HSVhsv(238, 78%, 40%)
CMYKcmyk(78.4%, 75.5%, 0%, 60%)
CIE-LABlab(14.54, 27.70, -45.21)
CIE-LCHlch(14.54, 53.02, 301.50°)
OKLaboklab(27.48% 0.0049 -0.1308)
OKLCHoklch(27.48% 0.131 272.2)
XYZxyz(3.0760, 1.8248, 12.7579)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161966 #666316
analogous
#164166 #161966 #3B1666
triadic
#161966 #661619 #196616
tetradic
#161966 #661641 #666316 #16663B
square
#161966 #661641 #666316 #16663B
split-complementary
#161966 #663B16 #416616
monochromatic
#050619 #0B0D34 #161966 #212598 #2C32CB

Accessibility & contrast

On white

15.38
#161966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161966
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161966#FFFFFF#000000##FFFFFF
##1619661.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161966;
/* rgb */ color: rgb(22, 25, 102);
/* oklch */ color: oklch(27.5% 0.131 272.2);
Tailwind
colors: {
  custom: {
    50: '#625693',
    500: '#161966',
    950: '#000000',
  },
}
SCSS
$custom: #161966;
$custom-light: #625693;
$custom-dark: #000000;
JSON
{
  "hex": "#161966",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 237.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27484,
    "c": 0.13092,
    "h": 272.2
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#161966
secondary
#9D993B
accent
#E140E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161966

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

Preview Lab → · Contrast checker → · Palette generator →

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