#161F73#161F73

#161F73 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.142 H 269.9°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#161F73
RGBrgb(22, 31, 115)
HSLhsl(234, 68%, 27%)
HSVhsv(234, 81%, 45%)
CMYKcmyk(80.9%, 73%, 0%, 54.9%)
CIE-LABlab(17.40, 28.68, -48.97)
CIE-LCHlch(17.40, 56.75, 300.36°)
OKLaboklab(29.97% -0.0001 -0.1418)
OKLCHoklch(29.97% 0.142 269.9)
XYZxyz(3.9143, 2.3879, 16.4709)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F73 #736A16
analogous
#164E73 #161F73 #3C1673
triadic
#161F73 #73161F #1F7316
tetradic
#161F73 #73164E #736A16 #16733C
square
#161F73 #73164E #736A16 #16733C
split-complementary
#161F73 #733C16 #4E7316
monochromatic
#05071A #0C1140 #161F73 #202DA6 #2D3DD7

Accessibility & contrast

On white

14.21
#161F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F73
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F73#FFFFFF#000000##FFFFFF
##161F731.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161f73;
/* rgb */ color: rgb(22, 31, 115);
/* oklch */ color: oklch(30.0% 0.142 269.9);
Tailwind
colors: {
  custom: {
    50: '#655b9c',
    500: '#161f73',
    950: '#000000',
  },
}
SCSS
$custom: #161f73;
$custom-light: #655b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#161f73",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 234.194,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29971,
    "c": 0.1418,
    "h": 269.9
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#161F73
secondary
#A99E3C
accent
#DA3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #161F73

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

Preview Lab → · Contrast checker → · Palette generator →

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