#161247#161247

#161247 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.095 H 279.1°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#161247
RGBrgb(22, 18, 71)
HSLhsl(245, 60%, 17%)
HSVhsv(245, 75%, 28%)
CMYKcmyk(69%, 74.6%, 0%, 72.2%)
CIE-LABlab(9.47, 20.59, -32.52)
CIE-LCHlch(9.47, 38.49, 302.34°)
OKLaboklab(22.82% 0.0151 -0.0937)
OKLCHoklch(22.82% 0.095 279.1)
XYZxyz(1.6842, 1.0580, 6.0755)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161247 #434712
analogous
#122947 #161247 #301247
triadic
#161247 #471612 #124716
tetradic
#161247 #471229 #434712 #124730
square
#161247 #471229 #434712 #124730
split-complementary
#161247 #473012 #294712
monochromatic
#080618 #080618 #161247 #251E78 #342BA9

Accessibility & contrast

On white

17.33
#161247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#161247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161247
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161247#FFFFFF#000000##FFFFFF
##1612471.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #161247;
/* rgb */ color: rgb(22, 18, 71);
/* oklch */ color: oklch(22.8% 0.095 279.1);
Tailwind
colors: {
  custom: {
    50: '#5a507b',
    500: '#161247',
    950: '#000000',
  },
}
SCSS
$custom: #161247;
$custom-light: #5a507b;
$custom-dark: #000000;
JSON
{
  "hex": "#161247",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 244.528,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22821,
    "c": 0.09492,
    "h": 279.1
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#161247
secondary
#7A8035
accent
#E345D7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #161247

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

Preview Lab → · Contrast checker → · Palette generator →

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