#161A3F#161A3F

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

Color values

HEX#161A3F
RGBrgb(22, 26, 63)
HSLhsl(234, 48%, 17%)
HSVhsv(234, 65%, 25%)
CMYKcmyk(65.1%, 58.7%, 0%, 75.3%)
CIE-LABlab(11.05, 11.47, -24.32)
CIE-LCHlch(11.05, 26.89, 295.26°)
OKLaboklab(23.76% 0.0062 -0.0695)
OKLCHoklch(23.76% 0.07 275.1)
XYZxyz(1.5972, 1.2681, 4.8623)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A3F #3F3B16
analogous
#162F3F #161A3F #27163F
triadic
#161A3F #3F161A #1A3F16
tetradic
#161A3F #3F162F #3F3B16 #163F27
square
#161A3F #3F162F #3F3B16 #163F27
split-complementary
#161A3F #3F2716 #2F3F16
monochromatic
#080917 #080917 #161A3F #262D6C #363F9A

Accessibility & contrast

On white

16.75
#161A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A3F
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A3F#FFFFFF#000000##FFFFFF
##161A3F1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F40
Deuteranopia (green-blind)
#021C3E
Tritanopia (blue-blind)
#012229
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161a3f;
/* rgb */ color: rgb(22, 26, 63);
/* oklch */ color: oklch(23.8% 0.070 275.1);
Tailwind
colors: {
  custom: {
    50: '#585674',
    500: '#161a3f',
    950: '#000000',
  },
}
SCSS
$custom: #161a3f;
$custom-light: #585674;
$custom-dark: #000000;
JSON
{
  "hex": "#161a3f",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 234.146,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23763,
    "c": 0.06983,
    "h": 275.1
  },
  "luminance": 0.01268
}

Semantic roles & 50–950 ramp

primary
#161A3F
secondary
#76703B
accent
#CB50D8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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