#161241#161241

#161241 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.086 H 280.6°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#161241
RGBrgb(22, 18, 65)
HSLhsl(245, 57%, 16%)
HSVhsv(245, 72%, 25%)
CMYKcmyk(66.2%, 72.3%, 0%, 74.5%)
CIE-LABlab(8.86, 18.27, -29.28)
CIE-LCHlch(8.86, 34.51, 301.97°)
OKLaboklab(22.2% 0.0158 -0.0842)
OKLCHoklch(22.2% 0.086 280.6)
XYZxyz(1.5010, 0.9847, 5.1110)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161241 #3D4112
analogous
#122641 #161241 #2E1241
triadic
#161241 #411612 #124116
tetradic
#161241 #411226 #3D4112 #12412E
square
#161241 #411226 #3D4112 #12412E
split-complementary
#161241 #412E12 #264112
monochromatic
#080718 #080718 #161241 #261F71 #362DA1

Accessibility & contrast

On white

17.54
#161241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#161241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161241
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161241#FFFFFF#000000##FFFFFF
##1612411.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#011E27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #161241;
/* rgb */ color: rgb(22, 18, 65);
/* oklch */ color: oklch(22.2% 0.086 280.6);
Tailwind
colors: {
  custom: {
    50: '#595076',
    500: '#161241',
    950: '#000000',
  },
}
SCSS
$custom: #161241;
$custom-light: #595076;
$custom-dark: #000000;
JSON
{
  "hex": "#161241",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 245.106,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22198,
    "c": 0.08568,
    "h": 280.6
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#161241
secondary
#747A35
accent
#E048D3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #161241

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

Preview Lab → · Contrast checker → · Palette generator →

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