#161F79#161F79

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

Color values

HEX#161F79
RGBrgb(22, 31, 121)
HSLhsl(235, 69%, 28%)
HSVhsv(235, 82%, 47%)
CMYKcmyk(81.8%, 74.4%, 0%, 52.5%)
CIE-LABlab(18.06, 30.97, -51.75)
CIE-LCHlch(18.06, 60.31, 300.89°)
OKLaboklab(30.64% -0.0009 -0.1499)
OKLCHoklch(30.64% 0.15 269.7)
XYZxyz(4.2709, 2.5305, 18.3488)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F79 #797016
analogous
#165179 #161F79 #3E1679
triadic
#161F79 #79161F #1F7916
tetradic
#161F79 #791651 #797016 #16793E
square
#161F79 #791651 #797016 #16793E
split-complementary
#161F79 #793E16 #517916
monochromatic
#05071A #0D1245 #161F79 #1F2CAD #303FD9

Accessibility & contrast

On white

13.94
#161F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#161F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F79
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F79#FFFFFF#000000##FFFFFF
##161F791.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161f79;
/* rgb */ color: rgb(22, 31, 121);
/* oklch */ color: oklch(30.6% 0.150 269.7);
Tailwind
colors: {
  custom: {
    50: '#675ba1',
    500: '#161f79',
    950: '#000000',
  },
}
SCSS
$custom: #161f79;
$custom-light: #675ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#161f79",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 234.545,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30636,
    "c": 0.1499,
    "h": 269.7
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#161F79
secondary
#AEA43D
accent
#DC3CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161F79

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

Preview Lab → · Contrast checker → · Palette generator →

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