#161A5C#161A5C

#161A5C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.115 H 272.8°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#161A5C
RGBrgb(22, 26, 92)
HSLhsl(237, 61%, 22%)
HSVhsv(237, 76%, 36%)
CMYKcmyk(76.1%, 71.7%, 0%, 63.9%)
CIE-LABlab(13.72, 23.15, -39.91)
CIE-LCHlch(13.72, 46.14, 300.12°)
OKLaboklab(26.57% 0.0056 -0.1153)
OKLCHoklch(26.57% 0.115 272.8)
XYZxyz(2.6314, 1.6818, 10.3091)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A5C #5C5816
analogous
#163D5C #161A5C #35165C
triadic
#161A5C #5C161A #1A5C16
tetradic
#161A5C #5C163D #5C5816 #165C35
square
#161A5C #5C163D #5C5816 #165C35
split-complementary
#161A5C #5C3516 #3D5C16
monochromatic
#060719 #0A0C2B #161A5C #22288D #2E36BF

Accessibility & contrast

On white

15.71
#161A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A5C
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A5C#FFFFFF#000000##FFFFFF
##161A5C1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161a5c;
/* rgb */ color: rgb(22, 26, 92);
/* oklch */ color: oklch(26.6% 0.115 272.8);
Tailwind
colors: {
  custom: {
    50: '#5f568b',
    500: '#161a5c',
    950: '#000000',
  },
}
SCSS
$custom: #161a5c;
$custom-light: #5f568b;
$custom-dark: #000000;
JSON
{
  "hex": "#161a5c",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 236.571,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26569,
    "c": 0.11549,
    "h": 272.8
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#161A5C
secondary
#938E3B
accent
#DB43E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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