#161E5A#161E5A

#161E5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.107 H 271.4°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#161E5A
RGBrgb(22, 30, 90)
HSLhsl(233, 61%, 22%)
HSVhsv(233, 76%, 35%)
CMYKcmyk(75.6%, 66.7%, 0%, 64.7%)
CIE-LABlab(14.61, 19.49, -37.12)
CIE-LCHlch(14.61, 41.93, 297.71°)
OKLaboklab(27.16% 0.0026 -0.1071)
OKLCHoklch(27.16% 0.107 271.4)
XYZxyz(2.6400, 1.8370, 9.8863)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E5A #5A5216
analogous
#16405A #161E5A #30165A
triadic
#161E5A #5A161E #1E5A16
tetradic
#161E5A #5A1640 #5A5216 #165A30
square
#161E5A #5A1640 #5A5216 #165A30
split-complementary
#161E5A #5A3016 #405A16
monochromatic
#060819 #0A0E29 #161E5A #222E8B #2E3FBC

Accessibility & contrast

On white

15.36
#161E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161E5A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E5A#FFFFFF#000000##FFFFFF
##161E5A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161e5a;
/* rgb */ color: rgb(22, 30, 90);
/* oklch */ color: oklch(27.2% 0.107 271.4);
Tailwind
colors: {
  custom: {
    50: '#5e5989',
    500: '#161e5a',
    950: '#000000',
  },
}
SCSS
$custom: #161e5a;
$custom-light: #5e5989;
$custom-dark: #000000;
JSON
{
  "hex": "#161e5a",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 232.941,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27158,
    "c": 0.10717,
    "h": 271.4
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#161E5A
secondary
#91873B
accent
#D144E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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