#16147F#16147F

#16147F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.168 H 270.6°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#16147F
RGBrgb(22, 20, 127)
HSLhsl(241, 73%, 29%)
HSVhsv(241, 84%, 50%)
CMYKcmyk(82.7%, 84.3%, 0%, 50.2%)
CIE-LABlab(16.52, 39.52, -58.13)
CIE-LCHlch(16.52, 70.29, 304.21°)
OKLaboklab(29.76% 0.0018 -0.1683)
OKLCHoklch(29.76% 0.168 270.6)
XYZxyz(4.4105, 2.2027, 20.2673)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16147F #7D7F14
analogous
#14487F #16147F #4C147F
triadic
#16147F #7F1614 #147F16
tetradic
#16147F #7F1448 #7D7F14 #147F4C
square
#16147F #7F1448 #7D7F14 #147F4C
split-complementary
#16147F #7F4C14 #487F14
monochromatic
#05041A #0D0C4A #16147F #1F1CB4 #322FDE

Accessibility & contrast

On white

14.58
#16147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#16147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16147F
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16147F#FFFFFF#000000##FFFFFF
##16147F1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16147f;
/* rgb */ color: rgb(22, 20, 127);
/* oklch */ color: oklch(29.8% 0.168 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a55a5',
    500: '#16147f',
    950: '#000000',
  },
}
SCSS
$custom: #16147f;
$custom-light: #6a55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16147f",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 241.121,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29757,
    "c": 0.16828,
    "h": 270.6
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#16147F
secondary
#B2B43B
accent
#EF38EC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16147F

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

Preview Lab → · Contrast checker → · Palette generator →

#16147F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva