#16138F#16138F

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

Color values

HEX#16138F
RGBrgb(22, 19, 143)
HSLhsl(241, 77%, 32%)
HSVhsv(241, 87%, 56%)
CMYKcmyk(84.6%, 86.7%, 0%, 43.9%)
CIE-LABlab(18.45, 45.15, -65.00)
CIE-LCHlch(18.45, 79.14, 304.78°)
OKLaboklab(31.69% -0.0017 -0.1881)
OKLCHoklch(31.69% 0.188 269.5)
XYZxyz(5.5200, 2.6188, 26.1958)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16138F #8C8F13
analogous
#134E8F #16138F #54138F
triadic
#16138F #8F1613 #138F16
tetradic
#16138F #8F134E #8C8F13 #138F54
square
#16138F #8F134E #8C8F13 #138F54
split-complementary
#16138F #8F5413 #4E8F13
monochromatic
#050523 #0E0C59 #16138F #1E1AC5 #3C38E5

Accessibility & contrast

On white

13.78
#16138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16138F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16138F#FFFFFF#000000##FFFFFF
##16138F1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00268D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16138f;
/* rgb */ color: rgb(22, 19, 143);
/* oklch */ color: oklch(31.7% 0.188 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e56b1',
    500: '#16138f',
    950: '#000000',
  },
}
SCSS
$custom: #16138f;
$custom-light: #6e56b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16138f",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 241.452,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31687,
    "c": 0.18812,
    "h": 269.5
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16138F

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

Preview Lab → · Contrast checker → · Palette generator →

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