#161F74#161F74

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

Color values

HEX#161F74
RGBrgb(22, 31, 116)
HSLhsl(234, 68%, 27%)
HSVhsv(234, 81%, 45%)
CMYKcmyk(81%, 73.3%, 0%, 54.5%)
CIE-LABlab(17.51, 29.07, -49.44)
CIE-LCHlch(17.51, 57.35, 300.45°)
OKLaboklab(30.08% -0.0003 -0.1432)
OKLCHoklch(30.08% 0.143 269.9)
XYZxyz(3.9722, 2.4111, 16.7756)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F74 #746B16
analogous
#164E74 #161F74 #3C1674
triadic
#161F74 #74161F #1F7416
tetradic
#161F74 #74164E #746B16 #16743C
square
#161F74 #74164E #746B16 #16743C
split-complementary
#161F74 #743C16 #4E7416
monochromatic
#05071A #0C1141 #161F74 #202DA7 #2D3DD7

Accessibility & contrast

On white

14.17
#161F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F74
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F74#FFFFFF#000000##FFFFFF
##161F741.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161f74;
/* rgb */ color: rgb(22, 31, 116);
/* oklch */ color: oklch(30.1% 0.143 269.9);
Tailwind
colors: {
  custom: {
    50: '#655b9d',
    500: '#161f74',
    950: '#000000',
  },
}
SCSS
$custom: #161f74;
$custom-light: #655b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#161f74",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 234.255,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30081,
    "c": 0.14316,
    "h": 269.9
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161F74

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

Preview Lab → · Contrast checker → · Palette generator →

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