#16138E#16138E

#16138E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.187 H 269.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#16138E
RGBrgb(22, 19, 142)
HSLhsl(241, 76%, 32%)
HSVhsv(241, 87%, 56%)
CMYKcmyk(84.5%, 86.6%, 0%, 44.3%)
CIE-LABlab(18.32, 44.83, -64.59)
CIE-LCHlch(18.32, 78.63, 304.76°)
OKLaboklab(31.56% -0.0015 -0.1869)
OKLCHoklch(31.56% 0.187 269.5)
XYZxyz(5.4446, 2.5887, 25.7986)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16138E #8B8E13
analogous
#134E8E #16138E #54138E
triadic
#16138E #8E1613 #138E16
tetradic
#16138E #8E134E #8B8E13 #138E54
square
#16138E #8E134E #8B8E13 #138E54
split-complementary
#16138E #8E5413 #4E8E13
monochromatic
#050522 #0E0C58 #16138E #1E1AC4 #3B37E4

Accessibility & contrast

On white

13.84
#16138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#16138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16138E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16138E#FFFFFF#000000##FFFFFF
##16138E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16138e;
/* rgb */ color: rgb(22, 19, 142);
/* oklch */ color: oklch(31.6% 0.187 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e56b0',
    500: '#16138e',
    950: '#000000',
  },
}
SCSS
$custom: #16138e;
$custom-light: #6e56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16138e",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 241.463,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31558,
    "c": 0.18695,
    "h": 269.5
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#16138E
secondary
#BFC23B
accent
#F335EE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #16138E

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

Preview Lab → · Contrast checker → · Palette generator →

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