#161866#161866

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

Color values

HEX#161866
RGBrgb(22, 24, 102)
HSLhsl(239, 65%, 24%)
HSVhsv(239, 78%, 40%)
CMYKcmyk(78.4%, 76.5%, 0%, 60%)
CIE-LABlab(14.30, 28.36, -45.60)
CIE-LCHlch(14.30, 53.70, 301.87°)
OKLaboklab(27.32% 0.0055 -0.132)
OKLCHoklch(27.32% 0.132 272.4)
XYZxyz(3.0550, 1.7828, 12.7509)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161866 #666416
analogous
#164066 #161866 #3C1666
triadic
#161866 #661618 #186616
tetradic
#161866 #661640 #666416 #16663C
square
#161866 #661640 #666416 #16663C
split-complementary
#161866 #663C16 #406616
monochromatic
#050619 #0B0C34 #161866 #212498 #2C30CB

Accessibility & contrast

On white

15.48
#161866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161866
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161866#FFFFFF#000000##FFFFFF
##1618661.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002065
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161866;
/* rgb */ color: rgb(22, 24, 102);
/* oklch */ color: oklch(27.3% 0.132 272.4);
Tailwind
colors: {
  custom: {
    50: '#625593',
    500: '#161866',
    950: '#000000',
  },
}
SCSS
$custom: #161866;
$custom-light: #625593;
$custom-dark: #000000;
JSON
{
  "hex": "#161866",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 238.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27315,
    "c": 0.13207,
    "h": 272.4
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#161866
secondary
#9D9A3B
accent
#E340E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161866

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

Preview Lab → · Contrast checker → · Palette generator →

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