#161D61#161D61

#161D61 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.119 H 271.4°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#161D61
RGBrgb(22, 29, 97)
HSLhsl(234, 63%, 23%)
HSVhsv(234, 77%, 38%)
CMYKcmyk(77.3%, 70.1%, 0%, 62%)
CIE-LABlab(15.02, 23.02, -41.12)
CIE-LCHlch(15.02, 47.12, 299.25°)
OKLaboklab(27.67% 0.003 -0.1189)
OKLCHoklch(27.67% 0.119 271.4)
XYZxyz(2.9272, 1.9121, 11.5217)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D61 #615A16
analogous
#164261 #161D61 #341661
triadic
#161D61 #61161D #1D6116
tetradic
#161D61 #611642 #615A16 #166134
square
#161D61 #611642 #615A16 #166134
split-complementary
#161D61 #613416 #426116
monochromatic
#060719 #0B0E2F #161D61 #212C93 #2D3BC5

Accessibility & contrast

On white

15.19
#161D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D61
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D61#FFFFFF#000000##FFFFFF
##161D611.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002260
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161d61;
/* rgb */ color: rgb(22, 29, 97);
/* oklch */ color: oklch(27.7% 0.119 271.4);
Tailwind
colors: {
  custom: {
    50: '#60598f',
    500: '#161d61',
    950: '#000000',
  },
}
SCSS
$custom: #161d61;
$custom-light: #60598f;
$custom-dark: #000000;
JSON
{
  "hex": "#161d61",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 234.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2767,
    "c": 0.1189,
    "h": 271.4
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#161D61
secondary
#988F3B
accent
#D742E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161D61

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

Preview Lab → · Contrast checker → · Palette generator →

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