#161850#161850

#161850 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.100 H 274.8°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#161850
RGBrgb(22, 24, 80)
HSLhsl(238, 57%, 20%)
HSVhsv(238, 73%, 31%)
CMYKcmyk(72.5%, 70%, 0%, 68.6%)
CIE-LABlab(11.98, 19.83, -34.64)
CIE-LCHlch(11.98, 39.91, 299.78°)
OKLaboklab(24.93% 0.0084 -0.0999)
OKLCHoklch(24.93% 0.1 274.8)
XYZxyz(2.1050, 1.4028, 7.7477)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161850 #504E16
analogous
#163550 #161850 #311650
triadic
#161850 #501618 #185016
tetradic
#161850 #501635 #504E16 #165031
square
#161850 #501635 #504E16 #165031
split-complementary
#161850 #503116 #355016
monochromatic
#070718 #090A20 #161850 #232680 #3035B0

Accessibility & contrast

On white

16.40
#161850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161850
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161850#FFFFFF#000000##FFFFFF
##1618501.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161850;
/* rgb */ color: rgb(22, 24, 80);
/* oklch */ color: oklch(24.9% 0.100 274.8);
Tailwind
colors: {
  custom: {
    50: '#5c5582',
    500: '#161850',
    950: '#000000',
  },
}
SCSS
$custom: #161850;
$custom-light: #5c5582;
$custom-dark: #000000;
JSON
{
  "hex": "#161850",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 237.931,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.24926,
    "c": 0.10028,
    "h": 274.8
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#161850
secondary
#87853A
accent
#DB48E0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #161850

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

Preview Lab → · Contrast checker → · Palette generator →

#161850 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva