#16145B#16145B

#16145B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.121 H 274.7°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#16145B
RGBrgb(22, 20, 91)
HSLhsl(242, 64%, 22%)
HSVhsv(242, 78%, 36%)
CMYKcmyk(75.8%, 78%, 0%, 64.3%)
CIE-LABlab(12.13, 26.83, -41.86)
CIE-LCHlch(12.13, 49.72, 302.65°)
OKLaboklab(25.39% 0.0099 -0.121)
OKLCHoklch(25.39% 0.121 274.7)
XYZxyz(2.4687, 1.4260, 10.0406)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16145B #595B14
analogous
#14365B #16145B #3A145B
triadic
#16145B #5B1614 #145B16
tetradic
#16145B #5B1436 #595B14 #145B3A
square
#16145B #5B1436 #595B14 #145B3A
split-complementary
#16145B #5B3A14 #365B14
monochromatic
#060619 #0A0929 #16145B #221F8D #2E2ABF

Accessibility & contrast

On white

16.34
#16145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#16145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16145B
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16145B#FFFFFF#000000##FFFFFF
##16145B1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001C5A
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #16145b;
/* rgb */ color: rgb(22, 20, 91);
/* oklch */ color: oklch(25.4% 0.121 274.7);
Tailwind
colors: {
  custom: {
    50: '#60528a',
    500: '#16145b',
    950: '#000000',
  },
}
SCSS
$custom: #16145b;
$custom-light: #60528a;
$custom-dark: #000000;
JSON
{
  "hex": "#16145b",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 241.69,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25391,
    "c": 0.12143,
    "h": 274.7
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#16145B
secondary
#909338
accent
#E741E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #16145B

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

Preview Lab → · Contrast checker → · Palette generator →

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