#160C4F#160C4F

#160C4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.114 H 279.1°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#160C4F
RGBrgb(22, 12, 79)
HSLhsl(249, 74%, 18%)
HSVhsv(249, 85%, 31%)
CMYKcmyk(72.2%, 84.8%, 0%, 69%)
CIE-LABlab(8.97, 27.41, -38.89)
CIE-LCHlch(8.97, 47.58, 305.18°)
OKLaboklab(22.74% 0.018 -0.1123)
OKLCHoklch(22.74% 0.114 279.1)
XYZxyz(1.8732, 0.9979, 7.4895)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C4F #454F0C
analogous
#0C244F #160C4F #370C4F
triadic
#160C4F #4F160C #0C4F16
tetradic
#160C4F #4F0C24 #454F0C #0C4F37
square
#160C4F #4F0C24 #454F0C #0C4F37
split-complementary
#160C4F #4F370C #244F0C
monochromatic
#07041B #07041B #160C4F #251484 #341CB9

Accessibility & contrast

On white

17.51
#160C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#160C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C4F
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C4F#FFFFFF#000000##FFFFFF
##160C4F1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #160c4f;
/* rgb */ color: rgb(22, 12, 79);
/* oklch */ color: oklch(22.7% 0.114 279.1);
Tailwind
colors: {
  custom: {
    50: '#5d4c81',
    500: '#160c4f',
    950: '#000000',
  },
}
SCSS
$custom: #160c4f;
$custom-light: #5d4c81;
$custom-dark: #000000;
JSON
{
  "hex": "#160c4f",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 248.955,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22742,
    "c": 0.11373,
    "h": 279.1
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#160C4F
secondary
#7C8B2C
accent
#F038D5
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #160C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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