#161E78#161E78

#161E78 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.150 H 269.9°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#161E78
RGBrgb(22, 30, 120)
HSLhsl(235, 69%, 28%)
HSVhsv(235, 82%, 47%)
CMYKcmyk(81.7%, 75%, 0%, 52.9%)
CIE-LABlab(17.71, 31.23, -51.68)
CIE-LCHlch(17.71, 60.39, 301.15°)
OKLaboklab(30.36% -0.0003 -0.1497)
OKLCHoklch(30.36% 0.15 269.9)
XYZxyz(4.1842, 2.4547, 18.0189)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E78 #787016
analogous
#164F78 #161E78 #3F1678
triadic
#161E78 #78161E #1E7816
tetradic
#161E78 #78164F #787016 #16783F
square
#161E78 #78164F #787016 #16783F
split-complementary
#161E78 #783F16 #4F7816
monochromatic
#05061A #0D1144 #161E78 #1F2BAC #2F3DD9

Accessibility & contrast

On white

14.08
#161E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#161E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E78
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E78#FFFFFF#000000##FFFFFF
##161E781.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002776
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161e78;
/* rgb */ color: rgb(22, 30, 120);
/* oklch */ color: oklch(30.4% 0.150 269.9);
Tailwind
colors: {
  custom: {
    50: '#675aa0',
    500: '#161e78',
    950: '#000000',
  },
}
SCSS
$custom: #161e78;
$custom-light: #675aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#161e78",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 235.102,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30356,
    "c": 0.14968,
    "h": 269.9
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#161E78
secondary
#ADA43C
accent
#DD3CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161E78

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

Preview Lab → · Contrast checker → · Palette generator →

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