#161340#161340

#161340 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.083 H 280.3°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#161340
RGBrgb(22, 19, 64)
HSLhsl(244, 54%, 16%)
HSVhsv(244, 70%, 25%)
CMYKcmyk(65.6%, 70.3%, 0%, 74.9%)
CIE-LABlab(9.04, 17.16, -28.27)
CIE-LCHlch(9.04, 33.07, 301.25°)
OKLaboklab(22.3% 0.0148 -0.0812)
OKLCHoklch(22.3% 0.083 280.3)
XYZxyz(1.4889, 1.0064, 4.9653)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161340 #3D4013
analogous
#132740 #161340 #2D1340
triadic
#161340 #401613 #134016
tetradic
#161340 #401327 #3D4013 #13402D
square
#161340 #401327 #3D4013 #13402D
split-complementary
#161340 #402D13 #274013
monochromatic
#080718 #080718 #161340 #26216F #362F9E

Accessibility & contrast

On white

17.48
#161340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161340
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161340#FFFFFF#000000##FFFFFF
##1613401.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#011E27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #161340;
/* rgb */ color: rgb(22, 19, 64);
/* oklch */ color: oklch(22.3% 0.083 280.3);
Tailwind
colors: {
  custom: {
    50: '#595075',
    500: '#161340',
    950: '#000000',
  },
}
SCSS
$custom: #161340;
$custom-light: #595075;
$custom-dark: #000000;
JSON
{
  "hex": "#161340",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 244,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.223,
    "c": 0.08259,
    "h": 280.3
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#161340
secondary
#747936
accent
#DE4AD4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #161340

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

Preview Lab → · Contrast checker → · Palette generator →

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