#161868#161868

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

Color values

HEX#161868
RGBrgb(22, 24, 104)
HSLhsl(239, 65%, 25%)
HSVhsv(239, 79%, 41%)
CMYKcmyk(78.8%, 76.9%, 0%, 59.2%)
CIE-LABlab(14.53, 29.10, -46.55)
CIE-LCHlch(14.53, 54.90, 302.02°)
OKLaboklab(27.54% 0.0051 -0.1347)
OKLCHoklch(27.54% 0.135 272.2)
XYZxyz(3.1554, 1.8230, 13.2796)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161868 #686616
analogous
#164168 #161868 #3D1668
triadic
#161868 #681618 #186816
tetradic
#161868 #681641 #686616 #16683D
square
#161868 #681641 #686616 #16683D
split-complementary
#161868 #683D16 #416816
monochromatic
#050619 #0B0C35 #161868 #21249B #2B2FCD

Accessibility & contrast

On white

15.39
#161868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161868
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161868#FFFFFF#000000##FFFFFF
##1618681.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.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: #161868;
/* rgb */ color: rgb(22, 24, 104);
/* oklch */ color: oklch(27.5% 0.135 272.2);
Tailwind
colors: {
  custom: {
    50: '#635694',
    500: '#161868',
    950: '#000000',
  },
}
SCSS
$custom: #161868;
$custom-light: #635694;
$custom-dark: #000000;
JSON
{
  "hex": "#161868",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 238.537,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27544,
    "c": 0.13481,
    "h": 272.2
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#161868
secondary
#9F9C3B
accent
#E440E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161868

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

Preview Lab → · Contrast checker → · Palette generator →

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