#161462#161462

#161462 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.131 H 273.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#161462
RGBrgb(22, 20, 98)
HSLhsl(242, 66%, 23%)
HSVhsv(242, 80%, 38%)
CMYKcmyk(77.6%, 79.6%, 0%, 61.6%)
CIE-LABlab(12.94, 29.41, -45.21)
CIE-LCHlch(12.94, 53.93, 303.05°)
OKLaboklab(26.21% 0.0084 -0.1308)
OKLCHoklch(26.21% 0.131 273.7)
XYZxyz(2.7849, 1.5524, 11.7058)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161462 #606214
analogous
#143962 #161462 #3D1462
triadic
#161462 #621614 #146216
tetradic
#161462 #621439 #606214 #14623D
square
#161462 #621439 #606214 #14623D
split-complementary
#161462 #623D14 #396214
monochromatic
#060519 #0B0A2F #161462 #211E95 #2D29C8

Accessibility & contrast

On white

16.02
#161462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161462
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161462#FFFFFF#000000##FFFFFF
##1614621.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#001E61
Tritanopia (blue-blind)
#002B3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161462;
/* rgb */ color: rgb(22, 20, 98);
/* oklch */ color: oklch(26.2% 0.131 273.7);
Tailwind
colors: {
  custom: {
    50: '#615390',
    500: '#161462',
    950: '#000000',
  },
}
SCSS
$custom: #161462;
$custom-light: #615390;
$custom-dark: #000000;
JSON
{
  "hex": "#161462",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 241.538,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26206,
    "c": 0.13105,
    "h": 273.7
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#161462
secondary
#979938
accent
#E93FE5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #161462

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

Preview Lab → · Contrast checker → · Palette generator →

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