#161D5F#161D5F

#161D5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.116 H 271.5°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#161D5F
RGBrgb(22, 29, 95)
HSLhsl(234, 62%, 23%)
HSVhsv(234, 77%, 37%)
CMYKcmyk(76.8%, 69.5%, 0%, 62.7%)
CIE-LABlab(14.82, 22.23, -40.12)
CIE-LCHlch(14.82, 45.86, 298.99°)
OKLaboklab(27.46% 0.0031 -0.1159)
OKLCHoklch(27.46% 0.116 271.5)
XYZxyz(2.8351, 1.8752, 11.0368)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D5F #5F5816
analogous
#16415F #161D5F #34165F
triadic
#161D5F #5F161D #1D5F16
tetradic
#161D5F #5F1641 #5F5816 #165F34
square
#161D5F #5F1641 #5F5816 #165F34
split-complementary
#161D5F #5F3416 #415F16
monochromatic
#060819 #0A0E2D #161D5F #222C91 #2D3BC2

Accessibility & contrast

On white

15.27
#161D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#161D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D5F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D5F#FFFFFF#000000##FFFFFF
##161D5F1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00225E
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161d5f;
/* rgb */ color: rgb(22, 29, 95);
/* oklch */ color: oklch(27.5% 0.116 271.5);
Tailwind
colors: {
  custom: {
    50: '#60598d',
    500: '#161d5f',
    950: '#000000',
  },
}
SCSS
$custom: #161d5f;
$custom-light: #60598d;
$custom-dark: #000000;
JSON
{
  "hex": "#161d5f",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 234.247,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27462,
    "c": 0.11597,
    "h": 271.5
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#161D5F
secondary
#968D3B
accent
#D642E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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