#161B5C#161B5C

#161B5C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.114 H 272.5°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#161B5C
RGBrgb(22, 27, 92)
HSLhsl(236, 61%, 22%)
HSVhsv(236, 76%, 36%)
CMYKcmyk(76.1%, 70.7%, 0%, 63.9%)
CIE-LABlab(13.98, 22.45, -39.48)
CIE-LCHlch(13.98, 45.42, 299.62°)
OKLaboklab(26.76% 0.0049 -0.1141)
OKLCHoklch(26.76% 0.114 272.5)
XYZxyz(2.6539, 1.7269, 10.3166)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B5C #5C5716
analogous
#163E5C #161B5C #34165C
triadic
#161B5C #5C161B #1B5C16
tetradic
#161B5C #5C163E #5C5716 #165C34
square
#161B5C #5C163E #5C5716 #165C34
split-complementary
#161B5C #5C3416 #3E5C16
monochromatic
#060719 #0A0D2B #161B5C #22298D #2E38BF

Accessibility & contrast

On white

15.61
#161B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B5C
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B5C#FFFFFF#000000##FFFFFF
##161B5C1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b5c;
/* rgb */ color: rgb(22, 27, 92);
/* oklch */ color: oklch(26.8% 0.114 272.5);
Tailwind
colors: {
  custom: {
    50: '#5f578b',
    500: '#161b5c',
    950: '#000000',
  },
}
SCSS
$custom: #161b5c;
$custom-light: #5f578b;
$custom-dark: #000000;
JSON
{
  "hex": "#161b5c",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 235.714,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2676,
    "c": 0.11419,
    "h": 272.5
  },
  "luminance": 0.01727
}

Semantic roles & 50–950 ramp

primary
#161B5C
secondary
#938D3B
accent
#D943E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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