#161E5B#161E5B

#161E5B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.109 H 271.4°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#161E5B
RGBrgb(22, 30, 91)
HSLhsl(233, 61%, 22%)
HSVhsv(233, 76%, 36%)
CMYKcmyk(75.8%, 67%, 0%, 64.3%)
CIE-LABlab(14.70, 19.90, -37.64)
CIE-LCHlch(14.70, 42.57, 297.87°)
OKLaboklab(27.26% 0.0026 -0.1086)
OKLCHoklch(27.26% 0.109 271.4)
XYZxyz(2.6828, 1.8542, 10.1120)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E5B #5B5316
analogous
#16415B #161E5B #30165B
triadic
#161E5B #5B161E #1E5B16
tetradic
#161E5B #5B1641 #5B5316 #165B30
square
#161E5B #5B1641 #5B5316 #165B30
split-complementary
#161E5B #5B3016 #415B16
monochromatic
#060819 #0A0E2A #161E5B #222E8C #2E3EBE

Accessibility & contrast

On white

15.32
#161E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E5B
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E5B#FFFFFF#000000##FFFFFF
##161E5B1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00225A
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161e5b;
/* rgb */ color: rgb(22, 30, 91);
/* oklch */ color: oklch(27.3% 0.109 271.4);
Tailwind
colors: {
  custom: {
    50: '#5e598a',
    500: '#161e5b',
    950: '#000000',
  },
}
SCSS
$custom: #161e5b;
$custom-light: #5e598a;
$custom-dark: #000000;
JSON
{
  "hex": "#161e5b",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 233.043,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27257,
    "c": 0.10868,
    "h": 271.4
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#161E5B
secondary
#92883B
accent
#D244E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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