#161249#161249

#161249 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.098 H 278.7°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#161249
RGBrgb(22, 18, 73)
HSLhsl(244, 60%, 18%)
HSVhsv(244, 75%, 29%)
CMYKcmyk(69.9%, 75.3%, 0%, 71.4%)
CIE-LABlab(9.67, 21.35, -33.58)
CIE-LCHlch(9.67, 39.79, 302.46°)
OKLaboklab(23.03% 0.0147 -0.0968)
OKLCHoklch(23.03% 0.098 278.7)
XYZxyz(1.7494, 1.0841, 6.4191)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161249 #454912
analogous
#122949 #161249 #311249
triadic
#161249 #491612 #124916
tetradic
#161249 #491229 #454912 #124931
square
#161249 #491229 #454912 #124931
split-complementary
#161249 #493112 #294912
monochromatic
#070619 #070619 #161249 #251E7A #342AAB

Accessibility & contrast

On white

17.26
#161249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#161249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161249
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161249#FFFFFF#000000##FFFFFF
##1612491.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001948
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #161249;
/* rgb */ color: rgb(22, 18, 73);
/* oklch */ color: oklch(23.0% 0.098 278.7);
Tailwind
colors: {
  custom: {
    50: '#5b507c',
    500: '#161249',
    950: '#000000',
  },
}
SCSS
$custom: #161249;
$custom-light: #5b507c;
$custom-dark: #000000;
JSON
{
  "hex": "#161249",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 244.364,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23034,
    "c": 0.09794,
    "h": 278.7
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#161249
secondary
#7C8235
accent
#E444D8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #161249

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

Preview Lab → · Contrast checker → · Palette generator →

#161249 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva