#161F80#161F80

#161F80 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.159 H 269.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#161F80
RGBrgb(22, 31, 128)
HSLhsl(235, 71%, 29%)
HSVhsv(235, 83%, 50%)
CMYKcmyk(82.8%, 75.8%, 0%, 49.8%)
CIE-LABlab(18.84, 33.57, -54.92)
CIE-LCHlch(18.84, 64.37, 301.43°)
OKLaboklab(31.43% -0.0019 -0.1591)
OKLCHoklch(31.43% 0.159 269.3)
XYZxyz(4.7158, 2.7085, 20.6921)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F80 #807716
analogous
#165480 #161F80 #421680
triadic
#161F80 #80161F #1F8016
tetradic
#161F80 #801654 #807716 #168042
square
#161F80 #801654 #807716 #168042
split-complementary
#161F80 #804216 #548016
monochromatic
#04061A #0D124C #161F80 #1F2CB4 #3443DC

Accessibility & contrast

On white

13.62
#161F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#161F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F80
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F80#FFFFFF#000000##FFFFFF
##161F801.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #161f80;
/* rgb */ color: rgb(22, 31, 128);
/* oklch */ color: oklch(31.4% 0.159 269.3);
Tailwind
colors: {
  custom: {
    50: '#695ba6',
    500: '#161f80',
    950: '#000000',
  },
}
SCSS
$custom: #161f80;
$custom-light: #695ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#161f80",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 234.906,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31427,
    "c": 0.15913,
    "h": 269.3
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#161F80
secondary
#B5AB3D
accent
#DE3AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161F80

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

Preview Lab → · Contrast checker → · Palette generator →

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