#161458#161458

#161458 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.117 H 275.1°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#161458
RGBrgb(22, 20, 88)
HSLhsl(242, 63%, 21%)
HSVhsv(242, 77%, 35%)
CMYKcmyk(75%, 77.3%, 0%, 65.5%)
CIE-LABlab(11.79, 25.70, -40.39)
CIE-LCHlch(11.79, 47.88, 302.47°)
OKLaboklab(25.05% 0.0105 -0.1167)
OKLCHoklch(25.05% 0.117 275.1)
XYZxyz(2.3419, 1.3752, 9.3727)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161458 #565814
analogous
#143458 #161458 #381458
triadic
#161458 #581614 #145816
tetradic
#161458 #581434 #565814 #145838
square
#161458 #581434 #565814 #145838
split-complementary
#161458 #583814 #345814
monochromatic
#060619 #0A0926 #161458 #221F8A #2F2BBC

Accessibility & contrast

On white

16.47
#161458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161458
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161458#FFFFFF#000000##FFFFFF
##1614581.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161458;
/* rgb */ color: rgb(22, 20, 88);
/* oklch */ color: oklch(25.0% 0.117 275.1);
Tailwind
colors: {
  custom: {
    50: '#5f5288',
    500: '#161458',
    950: '#000000',
  },
}
SCSS
$custom: #161458;
$custom-light: #5f5288;
$custom-dark: #000000;
JSON
{
  "hex": "#161458",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 241.765,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25049,
    "c": 0.11722,
    "h": 275.1
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161458

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

Preview Lab → · Contrast checker → · Palette generator →

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