#16127A#16127A

#16127A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.164 H 271.2°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#16127A
RGBrgb(22, 18, 122)
HSLhsl(242, 74%, 27%)
HSVhsv(242, 85%, 48%)
CMYKcmyk(82%, 85.2%, 0%, 52.2%)
CIE-LABlab(15.53, 38.87, -56.58)
CIE-LCHlch(15.53, 68.64, 304.49°)
OKLaboklab(28.89% 0.0035 -0.1637)
OKLCHoklch(28.89% 0.164 271.2)
XYZxyz(4.0588, 2.0079, 18.5822)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16127A #767A12
analogous
#12427A #16127A #4A127A
triadic
#16127A #7A1612 #127A16
tetradic
#16127A #7A1242 #767A12 #127A4A
square
#16127A #7A1242 #767A12 #127A4A
split-complementary
#16127A #7A4A12 #427A12
monochromatic
#05041B #0C0A45 #16127A #201AAF #2E27DF

Accessibility & contrast

On white

14.98
#16127A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#16127A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16127A
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16127A#FFFFFF#000000##FFFFFF
##16127A1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7D
Deuteranopia (green-blind)
#002178
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16127a;
/* rgb */ color: rgb(22, 18, 122);
/* oklch */ color: oklch(28.9% 0.164 271.2);
Tailwind
colors: {
  custom: {
    50: '#6853a2',
    500: '#16127a',
    950: '#000000',
  },
}
SCSS
$custom: #16127a;
$custom-light: #6853a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16127a",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 122
  },
  "hsl": {
    "h": 242.308,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.28887,
    "c": 0.16378,
    "h": 271.2
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#16127A
secondary
#ACB038
accent
#F137EA
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16127A

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

Preview Lab → · Contrast checker → · Palette generator →

#16127A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva