#161A77#161A77

#161A77 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.153 H 270.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#161A77
RGBrgb(22, 26, 119)
HSLhsl(238, 69%, 28%)
HSVhsv(238, 82%, 47%)
CMYKcmyk(81.5%, 78.2%, 0%, 53.3%)
CIE-LABlab(16.70, 33.37, -52.70)
CIE-LCHlch(16.70, 62.38, 302.34°)
OKLaboklab(29.6% 0.0016 -0.1526)
OKLCHoklch(29.6% 0.153 270.6)
XYZxyz(4.0289, 2.2408, 17.6694)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A77 #777316
analogous
#164A77 #161A77 #431677
triadic
#161A77 #77161A #1A7716
tetradic
#161A77 #77164A #777316 #167743
square
#161A77 #77164A #777316 #167743
split-complementary
#161A77 #774316 #4A7716
monochromatic
#05061A #0C0F43 #161A77 #2025AB #2F36D9

Accessibility & contrast

On white

14.50
#161A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#161A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A77
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A77#FFFFFF#000000##FFFFFF
##161A771.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161a77;
/* rgb */ color: rgb(22, 26, 119);
/* oklch */ color: oklch(29.6% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#67589f',
    500: '#161a77',
    950: '#000000',
  },
}
SCSS
$custom: #161a77;
$custom-light: #67589f;
$custom-dark: #000000;
JSON
{
  "hex": "#161a77",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 237.526,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.15264,
    "h": 270.6
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#161A77
secondary
#ACA83C
accent
#E43CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161A77

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

Preview Lab → · Contrast checker → · Palette generator →

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