#161C7A#161C7A

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

Color values

HEX#161C7A
RGBrgb(22, 28, 122)
HSLhsl(236, 69%, 28%)
HSVhsv(236, 82%, 48%)
CMYKcmyk(82%, 77%, 0%, 52.2%)
CIE-LABlab(17.49, 33.24, -53.33)
CIE-LCHlch(17.49, 62.84, 301.93°)
OKLaboklab(30.26% 0.0002 -0.1545)
OKLCHoklch(30.26% 0.154 270.1)
XYZxyz(4.2578, 2.4057, 18.6485)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C7A #7A7416
analogous
#164E7A #161C7A #42167A
triadic
#161C7A #7A161C #1C7A16
tetradic
#161C7A #7A164E #7A7416 #167A42
square
#161C7A #7A164E #7A7416 #167A42
split-complementary
#161C7A #7A4216 #4E7A16
monochromatic
#05061A #0D1046 #161C7A #1F28AE #313BDA

Accessibility & contrast

On white

14.18
#161C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C7A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C7A#FFFFFF#000000##FFFFFF
##161C7A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161c7a;
/* rgb */ color: rgb(22, 28, 122);
/* oklch */ color: oklch(30.3% 0.154 270.1);
Tailwind
colors: {
  custom: {
    50: '#6759a2',
    500: '#161c7a',
    950: '#000000',
  },
}
SCSS
$custom: #161c7a;
$custom-light: #6759a2;
$custom-dark: #000000;
JSON
{
  "hex": "#161c7a",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 236.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30262,
    "c": 0.15448,
    "h": 270.1
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#161C7A
secondary
#AFA83D
accent
#E23CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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