#161A3E#161A3E

#161A3E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.068 H 275.2°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#161A3E
RGBrgb(22, 26, 62)
HSLhsl(234, 48%, 16%)
HSVhsv(234, 65%, 24%)
CMYKcmyk(64.5%, 58.1%, 0%, 75.7%)
CIE-LABlab(10.97, 11.07, -23.74)
CIE-LCHlch(10.97, 26.19, 294.99°)
OKLaboklab(23.68% 0.0061 -0.0678)
OKLCHoklch(23.68% 0.068 275.2)
XYZxyz(1.5695, 1.2571, 4.7164)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A3E #3E3A16
analogous
#162E3E #161A3E #26163E
triadic
#161A3E #3E161A #1A3E16
tetradic
#161A3E #3E162E #3E3A16 #163E26
square
#161A3E #3E162E #3E3A16 #163E26
split-complementary
#161A3E #3E2616 #2E3E16
monochromatic
#080917 #080917 #161A3E #262D6B #364098

Accessibility & contrast

On white

16.78
#161A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#161A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A3E
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A3E#FFFFFF#000000##FFFFFF
##161A3E1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3F
Deuteranopia (green-blind)
#031C3D
Tritanopia (blue-blind)
#022229
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161a3e;
/* rgb */ color: rgb(22, 26, 62);
/* oklch */ color: oklch(23.7% 0.068 275.2);
Tailwind
colors: {
  custom: {
    50: '#575673',
    500: '#161a3e',
    950: '#000000',
  },
}
SCSS
$custom: #161a3e;
$custom-light: #575673;
$custom-dark: #000000;
JSON
{
  "hex": "#161a3e",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 234,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23678,
    "c": 0.06812,
    "h": 275.2
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#161A3E
secondary
#756F3B
accent
#CA51D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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