#16127D#16127D

#16127D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.167 H 270.9°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#16127D
RGBrgb(22, 18, 125)
HSLhsl(242, 75%, 28%)
HSVhsv(242, 86%, 49%)
CMYKcmyk(82.4%, 85.6%, 0%, 51%)
CIE-LABlab(15.92, 39.85, -57.85)
CIE-LCHlch(15.92, 70.25, 304.56°)
OKLaboklab(29.27% 0.0027 -0.1674)
OKLCHoklch(29.27% 0.167 270.9)
XYZxyz(4.2476, 2.0834, 19.5763)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16127D #797D12
analogous
#12437D #16127D #4B127D
triadic
#16127D #7D1612 #127D16
tetradic
#16127D #7D1243 #797D12 #127D4B
square
#16127D #7D1243 #797D12 #127D4B
split-complementary
#16127D #7D4B12 #437D12
monochromatic
#05041B #0D0A48 #16127D #1F1AB2 #3029E0

Accessibility & contrast

On white

14.82
#16127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#16127D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16127D
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16127D#FFFFFF#000000##FFFFFF
##16127D1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00227B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #16127d;
/* rgb */ color: rgb(22, 18, 125);
/* oklch */ color: oklch(29.3% 0.167 270.9);
Tailwind
colors: {
  custom: {
    50: '#6953a4',
    500: '#16127d',
    950: '#000000',
  },
}
SCSS
$custom: #16127d;
$custom-light: #6953a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16127d",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 242.243,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29269,
    "c": 0.16744,
    "h": 270.9
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#16127D
secondary
#AEB338
accent
#F136EA
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16127D

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

Preview Lab → · Contrast checker → · Palette generator →

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