#160F40#160F40

#160F40 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.089 H 282.5°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#160F40
RGBrgb(22, 15, 64)
HSLhsl(249, 62%, 15%)
HSVhsv(249, 77%, 25%)
CMYKcmyk(65.6%, 76.6%, 0%, 74.9%)
CIE-LABlab(7.97, 20.02, -30.03)
CIE-LCHlch(7.97, 36.09, 303.70°)
OKLaboklab(21.52% 0.0192 -0.0864)
OKLCHoklch(21.52% 0.089 282.5)
XYZxyz(1.4268, 0.8823, 4.9446)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F40 #39400F
analogous
#0F2040 #160F40 #2E0F40
triadic
#160F40 #40160F #0F4016
tetradic
#160F40 #400F20 #39400F #0F402E
square
#160F40 #400F20 #39400F #0F402E
split-complementary
#160F40 #402E0F #20400F
monochromatic
#090619 #090619 #160F40 #271B72 #3826A3

Accessibility & contrast

On white

17.85
#160F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#160F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F40
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F40#FFFFFF#000000##FFFFFF
##160F401.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#021C25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #160f40;
/* rgb */ color: rgb(22, 15, 64);
/* oklch */ color: oklch(21.5% 0.089 282.5);
Tailwind
colors: {
  custom: {
    50: '#594d75',
    500: '#160f40',
    950: '#000000',
  },
}
SCSS
$custom: #160f40;
$custom-light: #594d75;
$custom-dark: #000000;
JSON
{
  "hex": "#160f40",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 248.571,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21519,
    "c": 0.08852,
    "h": 282.5
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#160F40
secondary
#707A30
accent
#E543CE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160F40

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

Preview Lab → · Contrast checker → · Palette generator →

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