#160F4C#160F4C

#160F4C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.106 H 279.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#160F4C
RGBrgb(22, 15, 76)
HSLhsl(247, 67%, 18%)
HSVhsv(247, 80%, 30%)
CMYKcmyk(71.1%, 80.3%, 0%, 70.2%)
CIE-LABlab(9.27, 24.49, -36.32)
CIE-LCHlch(9.27, 43.81, 303.99°)
OKLaboklab(22.85% 0.0167 -0.1048)
OKLCHoklch(22.85% 0.106 279)
XYZxyz(1.8058, 1.0339, 6.9405)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F4C #454C0F
analogous
#0F264C #160F4C #340F4C
triadic
#160F4C #4C160F #0F4C16
tetradic
#160F4C #4C0F26 #454C0F #0F4C34
square
#160F4C #4C0F26 #454C0F #0F4C34
split-complementary
#160F4C #4C340F #264C0F
monochromatic
#07051A #07051A #160F4C #25197F #3423B2

Accessibility & contrast

On white

17.40
#160F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#160F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F4C
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F4C#FFFFFF#000000##FFFFFF
##160F4C1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #160f4c;
/* rgb */ color: rgb(22, 15, 76);
/* oklch */ color: oklch(22.8% 0.106 279.0);
Tailwind
colors: {
  custom: {
    50: '#5c4e7f',
    500: '#160f4c',
    950: '#000000',
  },
}
SCSS
$custom: #160f4c;
$custom-light: #5c4e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#160f4c",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 246.885,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22846,
    "c": 0.10616,
    "h": 279
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#160F4C
secondary
#7C8631
accent
#EA3ED6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #160F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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