#16145F#16145F

#16145F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.127 H 274.1°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#16145F
RGBrgb(22, 20, 95)
HSLhsl(242, 65%, 23%)
HSVhsv(242, 79%, 37%)
CMYKcmyk(76.8%, 78.9%, 0%, 62.7%)
CIE-LABlab(12.59, 28.31, -43.78)
CIE-LCHlch(12.59, 52.14, 302.89°)
OKLaboklab(25.85% 0.0091 -0.1266)
OKLCHoklch(25.85% 0.127 274.1)
XYZxyz(2.6459, 1.4968, 10.9737)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16145F #5D5F14
analogous
#14375F #16145F #3B145F
triadic
#16145F #5F1614 #145F16
tetradic
#16145F #5F1437 #5D5F14 #145F3B
square
#16145F #5F1437 #5D5F14 #145F3B
split-complementary
#16145F #5F3B14 #375F14
monochromatic
#060519 #0A092C #16145F #221F92 #2D29C4

Accessibility & contrast

On white

16.16
#16145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#16145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16145F
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16145F#FFFFFF#000000##FFFFFF
##16145F1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #16145f;
/* rgb */ color: rgb(22, 20, 95);
/* oklch */ color: oklch(25.9% 0.127 274.1);
Tailwind
colors: {
  custom: {
    50: '#61528d',
    500: '#16145f',
    950: '#000000',
  },
}
SCSS
$custom: #16145f;
$custom-light: #61528d;
$custom-dark: #000000;
JSON
{
  "hex": "#16145f",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 241.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25854,
    "c": 0.12696,
    "h": 274.1
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#16145F
secondary
#949738
accent
#E840E4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #16145F

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

Preview Lab → · Contrast checker → · Palette generator →

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