#16145E#16145E

#16145E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.126 H 274.2°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#16145E
RGBrgb(22, 20, 94)
HSLhsl(242, 65%, 22%)
HSVhsv(242, 79%, 37%)
CMYKcmyk(76.6%, 78.7%, 0%, 63.1%)
CIE-LABlab(12.47, 27.94, -43.31)
CIE-LCHlch(12.47, 51.54, 302.83°)
OKLaboklab(25.74% 0.0093 -0.1252)
OKLCHoklch(25.74% 0.126 274.2)
XYZxyz(2.6007, 1.4788, 10.7359)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16145E #5C5E14
analogous
#14375E #16145E #3B145E
triadic
#16145E #5E1614 #145E16
tetradic
#16145E #5E1437 #5C5E14 #145E3B
square
#16145E #5E1437 #5C5E14 #145E3B
split-complementary
#16145E #5E3B14 #375E14
monochromatic
#060519 #0A092C #16145E #221F90 #2E29C3

Accessibility & contrast

On white

16.21
#16145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16145E
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16145E#FFFFFF#000000##FFFFFF
##16145E1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #16145e;
/* rgb */ color: rgb(22, 20, 94);
/* oklch */ color: oklch(25.7% 0.126 274.2);
Tailwind
colors: {
  custom: {
    50: '#60528d',
    500: '#16145e',
    950: '#000000',
  },
}
SCSS
$custom: #16145e;
$custom-light: #60528d;
$custom-dark: #000000;
JSON
{
  "hex": "#16145e",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 241.622,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25738,
    "c": 0.12559,
    "h": 274.2
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#16145E
secondary
#939638
accent
#E840E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #16145E

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

Preview Lab → · Contrast checker → · Palette generator →

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