#161A40#161A40

#161A40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.072 H 275.1°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#161A40
RGBrgb(22, 26, 64)
HSLhsl(234, 49%, 17%)
HSVhsv(234, 66%, 25%)
CMYKcmyk(65.6%, 59.4%, 0%, 74.9%)
CIE-LABlab(11.13, 11.88, -24.89)
CIE-LCHlch(11.13, 27.58, 295.50°)
OKLaboklab(23.85% 0.0063 -0.0712)
OKLCHoklch(23.85% 0.072 275.1)
XYZxyz(1.6254, 1.2794, 5.0108)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A40 #403C16
analogous
#162F40 #161A40 #271640
triadic
#161A40 #40161A #1A4016
tetradic
#161A40 #40162F #403C16 #164027
square
#161A40 #40162F #403C16 #164027
split-complementary
#161A40 #402716 #2F4016
monochromatic
#080917 #080917 #161A40 #262D6E #353F9B

Accessibility & contrast

On white

16.72
#161A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#161A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A40
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A40#FFFFFF#000000##FFFFFF
##161A401.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052041
Deuteranopia (green-blind)
#001C3F
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161a40;
/* rgb */ color: rgb(22, 26, 64);
/* oklch */ color: oklch(23.8% 0.072 275.1);
Tailwind
colors: {
  custom: {
    50: '#585675',
    500: '#161a40',
    950: '#000000',
  },
}
SCSS
$custom: #161a40;
$custom-light: #585675;
$custom-dark: #000000;
JSON
{
  "hex": "#161a40",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 234.286,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23849,
    "c": 0.07153,
    "h": 275.1
  },
  "luminance": 0.0128
}

Semantic roles & 50–950 ramp

primary
#161A40
secondary
#77723B
accent
#CB4FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161A40

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

Preview Lab → · Contrast checker → · Palette generator →

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