#161457#161457

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

Color values

HEX#161457
RGBrgb(22, 20, 87)
HSLhsl(242, 63%, 21%)
HSVhsv(242, 77%, 34%)
CMYKcmyk(74.7%, 77%, 0%, 65.9%)
CIE-LABlab(11.68, 25.33, -39.90)
CIE-LCHlch(11.68, 47.26, 302.41°)
OKLaboklab(24.94% 0.0107 -0.1153)
OKLCHoklch(24.94% 0.116 275.3)
XYZxyz(2.3008, 1.3588, 9.1560)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161457 #555714
analogous
#143357 #161457 #371457
triadic
#161457 #571614 #145716
tetradic
#161457 #571433 #555714 #145737
square
#161457 #571433 #555714 #145737
split-complementary
#161457 #573714 #335714
monochromatic
#060619 #090925 #161457 #231F89 #2F2BBB

Accessibility & contrast

On white

16.51
#161457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161457
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161457#FFFFFF#000000##FFFFFF
##1614571.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#001C56
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161457;
/* rgb */ color: rgb(22, 20, 87);
/* oklch */ color: oklch(24.9% 0.116 275.3);
Tailwind
colors: {
  custom: {
    50: '#5e5287',
    500: '#161457',
    950: '#000000',
  },
}
SCSS
$custom: #161457;
$custom-light: #5e5287;
$custom-dark: #000000;
JSON
{
  "hex": "#161457",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 241.791,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24936,
    "c": 0.11579,
    "h": 275.3
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#161457
secondary
#8C8F38
accent
#E642E1
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #161457

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

Preview Lab → · Contrast checker → · Palette generator →

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