#161876#161876

#161876 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.153 H 270.9°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#161876
RGBrgb(22, 24, 118)
HSLhsl(239, 69%, 27%)
HSVhsv(239, 81%, 46%)
CMYKcmyk(81.4%, 79.7%, 0%, 53.7%)
CIE-LABlab(16.16, 34.21, -52.96)
CIE-LCHlch(16.16, 63.05, 302.87°)
OKLaboklab(29.19% 0.0025 -0.1533)
OKLCHoklch(29.19% 0.153 270.9)
XYZxyz(3.9264, 2.1314, 17.3405)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161876 #767416
analogous
#164876 #161876 #441676
triadic
#161876 #761618 #187616
tetradic
#161876 #761648 #767416 #167644
square
#161876 #761648 #767416 #167644
split-complementary
#161876 #764416 #487616
monochromatic
#05051A #0C0E42 #161876 #2022AA #2E32D8

Accessibility & contrast

On white

14.72
#161876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161876
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161876#FFFFFF#000000##FFFFFF
##1618761.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161876;
/* rgb */ color: rgb(22, 24, 118);
/* oklch */ color: oklch(29.2% 0.153 270.9);
Tailwind
colors: {
  custom: {
    50: '#67569f',
    500: '#161876',
    950: '#000000',
  },
}
SCSS
$custom: #161876;
$custom-light: #67569f;
$custom-dark: #000000;
JSON
{
  "hex": "#161876",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 238.75,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29185,
    "c": 0.15336,
    "h": 270.9
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#161876
secondary
#ACA93C
accent
#E83CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161876

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

Preview Lab → · Contrast checker → · Palette generator →

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