#161768#161768

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

Color values

HEX#161768
RGBrgb(22, 23, 104)
HSLhsl(239, 65%, 25%)
HSVhsv(239, 79%, 41%)
CMYKcmyk(78.8%, 77.9%, 0%, 59.2%)
CIE-LABlab(14.30, 29.74, -46.92)
CIE-LCHlch(14.30, 55.55, 302.37°)
OKLaboklab(27.38% 0.0057 -0.1358)
OKLCHoklch(27.38% 0.136 272.4)
XYZxyz(3.1351, 1.7825, 13.2729)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161768 #686716
analogous
#164068 #161768 #3E1668
triadic
#161768 #681617 #176816
tetradic
#161768 #681640 #686716 #16683E
square
#161768 #681640 #686716 #16683E
split-complementary
#161768 #683E16 #406816
monochromatic
#050619 #0B0C35 #161768 #21229B #2B2DCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##161768#FFFFFF#000000##FFFFFF
##1617681.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)
#00286A
Deuteranopia (green-blind)
#002067
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161768;
/* rgb */ color: rgb(22, 23, 104);
/* oklch */ color: oklch(27.4% 0.136 272.4);
Tailwind
colors: {
  custom: {
    50: '#635594',
    500: '#161768',
    950: '#000000',
  },
}
SCSS
$custom: #161768;
$custom-light: #635594;
$custom-dark: #000000;
JSON
{
  "hex": "#161768",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 239.268,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27382,
    "c": 0.13592,
    "h": 272.4
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#161768
secondary
#9F9D3B
accent
#E640E8
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161768

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

Preview Lab → · Contrast checker → · Palette generator →

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