#161A5D#161A5D

#161A5D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.117 H 272.7°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#161A5D
RGBrgb(22, 26, 93)
HSLhsl(237, 62%, 23%)
HSVhsv(237, 76%, 36%)
CMYKcmyk(76.3%, 72%, 0%, 63.5%)
CIE-LABlab(13.82, 23.55, -40.41)
CIE-LCHlch(13.82, 46.77, 300.23°)
OKLaboklab(26.67% 0.0055 -0.1168)
OKLCHoklch(26.67% 0.117 272.7)
XYZxyz(2.6754, 1.6994, 10.5408)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A5D #5D5916
analogous
#163D5D #161A5D #36165D
triadic
#161A5D #5D161A #1A5D16
tetradic
#161A5D #5D163D #5D5916 #165D36
square
#161A5D #5D163D #5D5916 #165D36
split-complementary
#161A5D #5D3616 #3D5D16
monochromatic
#060719 #0A0C2C #161A5D #22288E #2D36C0

Accessibility & contrast

On white

15.67
#161A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A5D
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A5D#FFFFFF#000000##FFFFFF
##161A5D1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161a5d;
/* rgb */ color: rgb(22, 26, 93);
/* oklch */ color: oklch(26.7% 0.117 272.7);
Tailwind
colors: {
  custom: {
    50: '#5f568c',
    500: '#161a5d',
    950: '#000000',
  },
}
SCSS
$custom: #161a5d;
$custom-light: #5f568c;
$custom-dark: #000000;
JSON
{
  "hex": "#161a5d",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 236.62,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26675,
    "c": 0.11695,
    "h": 272.7
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#161A5D
secondary
#948F3B
accent
#DC43E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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