#161A78#161A78

#161A78 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.154 H 270.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#161A78
RGBrgb(22, 26, 120)
HSLhsl(238, 69%, 28%)
HSVhsv(238, 82%, 47%)
CMYKcmyk(81.7%, 78.3%, 0%, 52.9%)
CIE-LABlab(16.82, 33.73, -53.15)
CIE-LCHlch(16.82, 62.95, 302.40°)
OKLaboklab(29.72% 0.0014 -0.1539)
OKLCHoklch(29.72% 0.154 270.5)
XYZxyz(4.0893, 2.2650, 17.9873)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A78 #787416
analogous
#164B78 #161A78 #431678
triadic
#161A78 #78161A #1A7816
tetradic
#161A78 #78164B #787416 #167843
square
#161A78 #78164B #787416 #167843
split-complementary
#161A78 #784316 #4B7816
monochromatic
#05061A #0D0F44 #161A78 #1F25AC #2F36D9

Accessibility & contrast

On white

14.45
#161A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#161A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A78
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A78#FFFFFF#000000##FFFFFF
##161A781.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161a78;
/* rgb */ color: rgb(22, 26, 120);
/* oklch */ color: oklch(29.7% 0.154 270.5);
Tailwind
colors: {
  custom: {
    50: '#6758a0',
    500: '#161a78',
    950: '#000000',
  },
}
SCSS
$custom: #161a78;
$custom-light: #6758a0;
$custom-dark: #000000;
JSON
{
  "hex": "#161a78",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 237.551,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.2972,
    "c": 0.15395,
    "h": 270.5
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#161A78
secondary
#ADA93C
accent
#E53CEC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161A78

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

Preview Lab → · Contrast checker → · Palette generator →

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