#16145A#16145A

#16145A is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.120 H 274.8°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#16145A
RGBrgb(22, 20, 90)
HSLhsl(242, 64%, 22%)
HSVhsv(242, 78%, 35%)
CMYKcmyk(75.6%, 77.8%, 0%, 64.7%)
CIE-LABlab(12.02, 26.45, -41.37)
CIE-LCHlch(12.02, 49.11, 302.60°)
OKLaboklab(25.28% 0.0101 -0.1196)
OKLCHoklch(25.28% 0.12 274.8)
XYZxyz(2.4259, 1.4088, 9.8150)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16145A #585A14
analogous
#14355A #16145A #39145A
triadic
#16145A #5A1614 #145A16
tetradic
#16145A #5A1435 #585A14 #145A39
square
#16145A #5A1435 #585A14 #145A39
split-complementary
#16145A #5A3914 #355A14
monochromatic
#060619 #0A0928 #16145A #221F8C #2E2ABE

Accessibility & contrast

On white

16.38
#16145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#16145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16145A
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16145A#FFFFFF#000000##FFFFFF
##16145A1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001C59
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #16145a;
/* rgb */ color: rgb(22, 20, 90);
/* oklch */ color: oklch(25.3% 0.120 274.8);
Tailwind
colors: {
  custom: {
    50: '#5f5289',
    500: '#16145a',
    950: '#000000',
  },
}
SCSS
$custom: #16145a;
$custom-light: #5f5289;
$custom-dark: #000000;
JSON
{
  "hex": "#16145a",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 241.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25277,
    "c": 0.12003,
    "h": 274.8
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#16145A
secondary
#8F9238
accent
#E741E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #16145A

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

Preview Lab → · Contrast checker → · Palette generator →

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