#161668#161668

#161668 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.137 H 272.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#161668
RGBrgb(22, 22, 104)
HSLhsl(240, 65%, 25%)
HSVhsv(240, 79%, 41%)
CMYKcmyk(78.8%, 78.8%, 0%, 59.2%)
CIE-LABlab(14.08, 30.37, -47.29)
CIE-LCHlch(14.08, 56.20, 302.71°)
OKLaboklab(27.22% 0.0062 -0.1369)
OKLCHoklch(27.22% 0.137 272.6)
XYZxyz(3.1156, 1.7435, 13.2664)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161668 #686816
analogous
#163F68 #161668 #3F1668
triadic
#161668 #681616 #166816
tetradic
#161668 #68163F #686816 #16683F
square
#161668 #68163F #686816 #16683F
split-complementary
#161668 #683F16 #3F6816
monochromatic
#050519 #0B0B35 #161668 #21219B #2B2BCD

Accessibility & contrast

On white

15.57
#161668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161668
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161668#FFFFFF#000000##FFFFFF
##1616681.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002067
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161668;
/* rgb */ color: rgb(22, 22, 104);
/* oklch */ color: oklch(27.2% 0.137 272.6);
Tailwind
colors: {
  custom: {
    50: '#635494',
    500: '#161668',
    950: '#000000',
  },
}
SCSS
$custom: #161668;
$custom-light: #635494;
$custom-dark: #000000;
JSON
{
  "hex": "#161668",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27224,
    "c": 0.137,
    "h": 272.6
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#161668
secondary
#9F9F3B
accent
#E840E8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161668

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

Preview Lab → · Contrast checker → · Palette generator →

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