#160F7D#160F7D

#160F7D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.170 H 271.1°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#160F7D
RGBrgb(22, 15, 125)
HSLhsl(244, 79%, 27%)
HSVhsv(244, 88%, 49%)
CMYKcmyk(82.4%, 88%, 0%, 51%)
CIE-LABlab(15.45, 41.25, -58.63)
CIE-LCHlch(15.45, 71.69, 305.13°)
OKLaboklab(28.94% 0.0034 -0.1696)
OKLCHoklch(28.94% 0.17 271.1)
XYZxyz(4.2021, 1.9924, 19.5612)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F7D #767D0F
analogous
#0F3F7D #160F7D #4D0F7D
triadic
#160F7D #7D160F #0F7D16
tetradic
#160F7D #7D0F3F #767D0F #0F7D4D
square
#160F7D #7D0F3F #767D0F #0F7D4D
split-complementary
#160F7D #7D4D0F #3F7D0F
monochromatic
#05031B #0C0846 #160F7D #2016B4 #2E22E4

Accessibility & contrast

On white

15.02
#160F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#160F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F7D
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F7D#FFFFFF#000000##FFFFFF
##160F7D1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C80
Deuteranopia (green-blind)
#00217B
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #160f7d;
/* rgb */ color: rgb(22, 15, 125);
/* oklch */ color: oklch(28.9% 0.170 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a52a4',
    500: '#160f7d',
    950: '#000000',
  },
}
SCSS
$custom: #160f7d;
$custom-light: #6a52a4;
$custom-dark: #000000;
JSON
{
  "hex": "#160f7d",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 125
  },
  "hsl": {
    "h": 243.818,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.28944,
    "c": 0.16965,
    "h": 271.1
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#160F7D
secondary
#ACB434
accent
#F533E9
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08020F
muted
#7A787F

Preview Lab

Preview with #160F7D

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

Preview Lab → · Contrast checker → · Palette generator →

#160F7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva