#161E79#161E79

#161E79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.151 H 269.8°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#161E79
RGBrgb(22, 30, 121)
HSLhsl(235, 69%, 28%)
HSVhsv(235, 82%, 47%)
CMYKcmyk(81.8%, 75.2%, 0%, 52.5%)
CIE-LABlab(17.82, 31.61, -52.14)
CIE-LCHlch(17.82, 60.97, 301.23°)
OKLaboklab(30.47% -0.0004 -0.151)
OKLCHoklch(30.47% 0.151 269.8)
XYZxyz(4.2452, 2.4791, 18.3402)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E79 #797116
analogous
#164F79 #161E79 #401679
triadic
#161E79 #79161E #1E7916
tetradic
#161E79 #79164F #797116 #167940
square
#161E79 #79164F #797116 #167940
split-complementary
#161E79 #794016 #4F7916
monochromatic
#05061A #0D1145 #161E79 #1F2BAD #303ED9

Accessibility & contrast

On white

14.04
#161E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#161E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E79
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E79#FFFFFF#000000##FFFFFF
##161E791.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161e79;
/* rgb */ color: rgb(22, 30, 121);
/* oklch */ color: oklch(30.5% 0.151 269.8);
Tailwind
colors: {
  custom: {
    50: '#675aa1',
    500: '#161e79',
    950: '#000000',
  },
}
SCSS
$custom: #161e79;
$custom-light: #675aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#161e79",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 235.152,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30469,
    "c": 0.15101,
    "h": 269.8
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#161E79
secondary
#AEA53D
accent
#DE3CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161E79

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

Preview Lab → · Contrast checker → · Palette generator →

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