#16118E#16118E

#16118E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.188 H 269.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#16118E
RGBrgb(22, 17, 142)
HSLhsl(242, 79%, 31%)
HSVhsv(242, 88%, 56%)
CMYKcmyk(84.5%, 88%, 0%, 44.3%)
CIE-LABlab(18.03, 45.70, -65.08)
CIE-LCHlch(18.03, 79.52, 305.08°)
OKLaboklab(31.36% -0.0012 -0.1883)
OKLCHoklch(31.36% 0.188 269.6)
XYZxyz(5.4122, 2.5238, 25.7878)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16118E #898E11
analogous
#114A8E #16118E #54118E
triadic
#16118E #8E1611 #118E16
tetradic
#16118E #8E114A #898E11 #118E54
square
#16118E #8E114A #898E11 #118E54
split-complementary
#16118E #8E5411 #4A8E11
monochromatic
#050421 #0E0A57 #16118E #1E18C5 #3A33E7

Accessibility & contrast

On white

13.96
#16118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#16118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16118E
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16118E#FFFFFF#000000##FFFFFF
##16118E1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00258C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #16118e;
/* rgb */ color: rgb(22, 17, 142);
/* oklch */ color: oklch(31.4% 0.188 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e55b1',
    500: '#16118e',
    950: '#000000',
  },
}
SCSS
$custom: #16118e;
$custom-light: #6e55b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16118e",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 242.4,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.18829,
    "h": 269.6
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#16118E
secondary
#BDC238
accent
#F533ED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #16118E

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

Preview Lab → · Contrast checker → · Palette generator →

#16118E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva