#16147B#16147B

#16147B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.163 H 271.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#16147B
RGBrgb(22, 20, 123)
HSLhsl(241, 72%, 28%)
HSVhsv(241, 84%, 48%)
CMYKcmyk(82.1%, 83.7%, 0%, 51.8%)
CIE-LABlab(16.01, 38.18, -56.43)
CIE-LCHlch(16.01, 68.13, 304.08°)
OKLaboklab(29.26% 0.0027 -0.1633)
OKLCHoklch(29.26% 0.163 271)
XYZxyz(4.1550, 2.1005, 18.9215)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16147B #797B14
analogous
#14457B #16147B #49147B
triadic
#16147B #7B1614 #147B16
tetradic
#16147B #7B1445 #797B14 #147B49
square
#16147B #7B1445 #797B14 #147B49
split-complementary
#16147B #7B4914 #457B14
monochromatic
#05041A #0D0B46 #16147B #1F1DB0 #302DDD

Accessibility & contrast

On white

14.79
#16147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#16147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16147B
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16147B#FFFFFF#000000##FFFFFF
##16147B1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #16147b;
/* rgb */ color: rgb(22, 20, 123);
/* oklch */ color: oklch(29.3% 0.163 271.0);
Tailwind
colors: {
  custom: {
    50: '#6854a2',
    500: '#16147b',
    950: '#000000',
  },
}
SCSS
$custom: #16147b;
$custom-light: #6854a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16147b",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 241.165,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29255,
    "c": 0.16336,
    "h": 271
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#16147B
secondary
#AEB13A
accent
#EF39EB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16147B

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

Preview Lab → · Contrast checker → · Palette generator →

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