#16165F#16165F

#16165F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.125 H 273.6°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#16165F
RGBrgb(22, 22, 95)
HSLhsl(240, 62%, 23%)
HSVhsv(240, 77%, 37%)
CMYKcmyk(76.8%, 76.8%, 0%, 62.7%)
CIE-LABlab(13.05, 27.03, -43.03)
CIE-LCHlch(13.05, 50.81, 302.14°)
OKLaboklab(26.18% 0.0079 -0.1244)
OKLCHoklch(26.18% 0.125 273.6)
XYZxyz(2.6827, 1.5703, 10.9860)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16165F #5F5F16
analogous
#163A5F #16165F #3A165F
triadic
#16165F #5F1616 #165F16
tetradic
#16165F #5F163A #5F5F16 #165F3A
square
#16165F #5F163A #5F5F16 #165F3A
split-complementary
#16165F #5F3A16 #3A5F16
monochromatic
#060619 #0A0A2D #16165F #222291 #2D2DC2

Accessibility & contrast

On white

15.98
#16165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#16165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16165F
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16165F#FFFFFF#000000##FFFFFF
##16165F1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #16165f;
/* rgb */ color: rgb(22, 22, 95);
/* oklch */ color: oklch(26.2% 0.125 273.6);
Tailwind
colors: {
  custom: {
    50: '#60548d',
    500: '#16165f',
    950: '#000000',
  },
}
SCSS
$custom: #16165f;
$custom-light: #60548d;
$custom-dark: #000000;
JSON
{
  "hex": "#16165f",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 240,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26182,
    "c": 0.12469,
    "h": 273.6
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#16165F
secondary
#96963B
accent
#E542E5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #16165F

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

Preview Lab → · Contrast checker → · Palette generator →

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