#161D60#161D60

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

Color values

HEX#161D60
RGBrgb(22, 29, 96)
HSLhsl(234, 63%, 23%)
HSVhsv(234, 77%, 38%)
CMYKcmyk(77.1%, 69.8%, 0%, 62.4%)
CIE-LABlab(14.92, 22.63, -40.62)
CIE-LCHlch(14.92, 46.49, 299.12°)
OKLaboklab(27.57% 0.0031 -0.1174)
OKLCHoklch(27.57% 0.117 271.5)
XYZxyz(2.8808, 1.8935, 11.2777)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D60 #605916
analogous
#164260 #161D60 #341660
triadic
#161D60 #60161D #1D6016
tetradic
#161D60 #601642 #605916 #166034
square
#161D60 #601642 #605916 #166034
split-complementary
#161D60 #603416 #426016
monochromatic
#060819 #0B0E2E #161D60 #212C92 #2D3BC4

Accessibility & contrast

On white

15.23
#161D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D60
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D60#FFFFFF#000000##FFFFFF
##161D601.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161d60;
/* rgb */ color: rgb(22, 29, 96);
/* oklch */ color: oklch(27.6% 0.117 271.5);
Tailwind
colors: {
  custom: {
    50: '#60598e',
    500: '#161d60',
    950: '#000000',
  },
}
SCSS
$custom: #161d60;
$custom-light: #60598e;
$custom-dark: #000000;
JSON
{
  "hex": "#161d60",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 234.324,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27566,
    "c": 0.11744,
    "h": 271.5
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#161D60
secondary
#978E3B
accent
#D642E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161D60

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

Preview Lab → · Contrast checker → · Palette generator →

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