#161968#161968

#161968 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.134 H 272.0°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#161968
RGBrgb(22, 25, 104)
HSLhsl(238, 65%, 25%)
HSVhsv(238, 79%, 41%)
CMYKcmyk(78.8%, 76%, 0%, 59.2%)
CIE-LABlab(14.76, 28.46, -46.16)
CIE-LCHlch(14.76, 54.23, 301.65°)
OKLaboklab(27.71% 0.0046 -0.1336)
OKLCHoklch(27.71% 0.134 272)
XYZxyz(3.1764, 1.8650, 13.2866)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161968 #686516
analogous
#164268 #161968 #3C1668
triadic
#161968 #681619 #196816
tetradic
#161968 #681642 #686516 #16683C
square
#161968 #681642 #686516 #16683C
split-complementary
#161968 #683C16 #426816
monochromatic
#050619 #0B0D35 #161968 #21259B #2B31CD

Accessibility & contrast

On white

15.29
#161968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161968
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161968#FFFFFF#000000##FFFFFF
##1619681.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002167
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161968;
/* rgb */ color: rgb(22, 25, 104);
/* oklch */ color: oklch(27.7% 0.134 272.0);
Tailwind
colors: {
  custom: {
    50: '#635694',
    500: '#161968',
    950: '#000000',
  },
}
SCSS
$custom: #161968;
$custom-light: #635694;
$custom-dark: #000000;
JSON
{
  "hex": "#161968",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 237.805,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2771,
    "c": 0.13368,
    "h": 272
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#161968
secondary
#9F9B3B
accent
#E240E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161968

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

Preview Lab → · Contrast checker → · Palette generator →

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