#161A79#161A79

#161A79 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.155 H 270.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#161A79
RGBrgb(22, 26, 121)
HSLhsl(238, 69%, 28%)
HSVhsv(238, 82%, 47%)
CMYKcmyk(81.8%, 78.5%, 0%, 52.5%)
CIE-LABlab(16.94, 34.09, -53.60)
CIE-LCHlch(16.94, 63.52, 302.46°)
OKLaboklab(29.84% 0.0012 -0.1552)
OKLCHoklch(29.84% 0.155 270.4)
XYZxyz(4.1503, 2.2894, 18.3086)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A79 #797516
analogous
#164B79 #161A79 #431679
triadic
#161A79 #79161A #1A7916
tetradic
#161A79 #79164B #797516 #167943
square
#161A79 #79164B #797516 #167943
split-complementary
#161A79 #794316 #4B7916
monochromatic
#05061A #0D0F45 #161A79 #1F25AD #3037D9

Accessibility & contrast

On white

14.40
#161A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#161A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A79
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A79#FFFFFF#000000##FFFFFF
##161A791.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161a79;
/* rgb */ color: rgb(22, 26, 121);
/* oklch */ color: oklch(29.8% 0.155 270.4);
Tailwind
colors: {
  custom: {
    50: '#6758a1',
    500: '#161a79',
    950: '#000000',
  },
}
SCSS
$custom: #161a79;
$custom-light: #6758a1;
$custom-dark: #000000;
JSON
{
  "hex": "#161a79",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 237.576,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29838,
    "c": 0.15523,
    "h": 270.4
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161A79

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

Preview Lab → · Contrast checker → · Palette generator →

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