#161C79#161C79

#161C79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.153 H 270.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#161C79
RGBrgb(22, 28, 121)
HSLhsl(236, 69%, 28%)
HSVhsv(236, 82%, 47%)
CMYKcmyk(81.8%, 76.9%, 0%, 52.5%)
CIE-LABlab(17.37, 32.87, -52.88)
CIE-LCHlch(17.37, 62.26, 301.86°)
OKLaboklab(30.15% 0.0004 -0.1532)
OKLCHoklch(30.15% 0.153 270.1)
XYZxyz(4.1961, 2.3811, 18.3239)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C79 #797316
analogous
#164D79 #161C79 #421679
triadic
#161C79 #79161C #1C7916
tetradic
#161C79 #79164D #797316 #167942
square
#161C79 #79164D #797316 #167942
split-complementary
#161C79 #794216 #4D7916
monochromatic
#05061A #0D1045 #161C79 #1F28AD #303AD9

Accessibility & contrast

On white

14.22
#161C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#161C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C79
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C79#FFFFFF#000000##FFFFFF
##161C791.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161c79;
/* rgb */ color: rgb(22, 28, 121);
/* oklch */ color: oklch(30.1% 0.153 270.1);
Tailwind
colors: {
  custom: {
    50: '#6759a1',
    500: '#161c79',
    950: '#000000',
  },
}
SCSS
$custom: #161c79;
$custom-light: #6759a1;
$custom-dark: #000000;
JSON
{
  "hex": "#161c79",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 236.364,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30146,
    "c": 0.15317,
    "h": 270.1
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#161C79
secondary
#AEA73D
accent
#E13CEC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161C79

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

Preview Lab → · Contrast checker → · Palette generator →

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