#161C78#161C78

#161C78 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.152 H 270.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#161C78
RGBrgb(22, 28, 120)
HSLhsl(236, 69%, 28%)
HSVhsv(236, 82%, 47%)
CMYKcmyk(81.7%, 76.7%, 0%, 52.9%)
CIE-LABlab(17.26, 32.50, -52.43)
CIE-LCHlch(17.26, 61.69, 301.80°)
OKLaboklab(30.03% 0.0006 -0.1519)
OKLCHoklch(30.03% 0.152 270.2)
XYZxyz(4.1351, 2.3567, 18.0026)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C78 #787216
analogous
#164D78 #161C78 #411678
triadic
#161C78 #78161C #1C7816
tetradic
#161C78 #78164D #787216 #167841
square
#161C78 #78164D #787216 #167841
split-complementary
#161C78 #784116 #4D7816
monochromatic
#05061A #0D1044 #161C78 #1F28AC #2F3AD9

Accessibility & contrast

On white

14.27
#161C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#161C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C78
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C78#FFFFFF#000000##FFFFFF
##161C781.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161c78;
/* rgb */ color: rgb(22, 28, 120);
/* oklch */ color: oklch(30.0% 0.152 270.2);
Tailwind
colors: {
  custom: {
    50: '#6759a0',
    500: '#161c78',
    950: '#000000',
  },
}
SCSS
$custom: #161c78;
$custom-light: #6759a0;
$custom-dark: #000000;
JSON
{
  "hex": "#161c78",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 236.327,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30031,
    "c": 0.15185,
    "h": 270.2
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#161C78
secondary
#ADA63C
accent
#E13CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161C78

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

Preview Lab → · Contrast checker → · Palette generator →

#161C78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva