#161C74#161C74

#161C74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.147 H 270.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#161C74
RGBrgb(22, 28, 116)
HSLhsl(236, 68%, 27%)
HSVhsv(236, 81%, 45%)
CMYKcmyk(81%, 75.9%, 0%, 54.5%)
CIE-LABlab(16.80, 31.02, -50.61)
CIE-LCHlch(16.80, 59.36, 301.51°)
OKLaboklab(29.57% 0.0012 -0.1466)
OKLCHoklch(29.57% 0.147 270.5)
XYZxyz(3.8974, 2.2616, 16.7507)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C74 #746E16
analogous
#164B74 #161C74 #3F1674
triadic
#161C74 #74161C #1C7416
tetradic
#161C74 #74164B #746E16 #16743F
square
#161C74 #74164B #746E16 #16743F
split-complementary
#161C74 #743F16 #4B7416
monochromatic
#05061A #0C1041 #161C74 #2028A7 #2D38D7

Accessibility & contrast

On white

14.46
#161C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C74
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C74#FFFFFF#000000##FFFFFF
##161C741.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161c74;
/* rgb */ color: rgb(22, 28, 116);
/* oklch */ color: oklch(29.6% 0.147 270.5);
Tailwind
colors: {
  custom: {
    50: '#66599d',
    500: '#161c74',
    950: '#000000',
  },
}
SCSS
$custom: #161c74;
$custom-light: #66599d;
$custom-dark: #000000;
JSON
{
  "hex": "#161c74",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 236.17,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29573,
    "c": 0.14655,
    "h": 270.5
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#161C74
secondary
#AAA33C
accent
#E03DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161C74

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

Preview Lab → · Contrast checker → · Palette generator →

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