#161B5E#161B5E

#161B5E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.117 H 272.3°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#161B5E
RGBrgb(22, 27, 94)
HSLhsl(236, 62%, 23%)
HSVhsv(236, 77%, 37%)
CMYKcmyk(76.6%, 71.3%, 0%, 63.1%)
CIE-LABlab(14.19, 23.24, -40.49)
CIE-LCHlch(14.19, 46.68, 299.86°)
OKLaboklab(26.97% 0.0047 -0.117)
OKLCHoklch(26.97% 0.117 272.3)
XYZxyz(2.7425, 1.7623, 10.7831)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B5E #5E5916
analogous
#163F5E #161B5E #35165E
triadic
#161B5E #5E161B #1B5E16
tetradic
#161B5E #5E163F #5E5916 #165E35
square
#161B5E #5E163F #5E5916 #165E35
split-complementary
#161B5E #5E3516 #3F5E16
monochromatic
#060719 #0A0D2C #161B5E #222990 #2D37C1

Accessibility & contrast

On white

15.53
#161B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B5E
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B5E#FFFFFF#000000##FFFFFF
##161B5E1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161b5e;
/* rgb */ color: rgb(22, 27, 94);
/* oklch */ color: oklch(27.0% 0.117 272.3);
Tailwind
colors: {
  custom: {
    50: '#60578c',
    500: '#161b5e',
    950: '#000000',
  },
}
SCSS
$custom: #161b5e;
$custom-light: #60578c;
$custom-dark: #000000;
JSON
{
  "hex": "#161b5e",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 235.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26971,
    "c": 0.11711,
    "h": 272.3
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#161B5E
secondary
#958F3B
accent
#DA43E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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