#16124A#16124A

#16124A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.099 H 278.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#16124A
RGBrgb(22, 18, 74)
HSLhsl(244, 61%, 18%)
HSVhsv(244, 76%, 29%)
CMYKcmyk(70.3%, 75.7%, 0%, 71%)
CIE-LABlab(9.78, 21.73, -34.10)
CIE-LCHlch(9.78, 40.44, 302.51°)
OKLaboklab(23.14% 0.0146 -0.0984)
OKLCHoklch(23.14% 0.099 278.4)
XYZxyz(1.7828, 1.0975, 6.5951)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16124A #464A12
analogous
#122A4A #16124A #32124A
triadic
#16124A #4A1612 #124A16
tetradic
#16124A #4A122A #464A12 #124A32
square
#16124A #4A122A #464A12 #124A32
split-complementary
#16124A #4A3212 #2A4A12
monochromatic
#070619 #070619 #16124A #251E7B #332AAC

Accessibility & contrast

On white

17.22
#16124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#16124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16124A
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16124A#FFFFFF#000000##FFFFFF
##16124A1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #16124a;
/* rgb */ color: rgb(22, 18, 74);
/* oklch */ color: oklch(23.1% 0.099 278.4);
Tailwind
colors: {
  custom: {
    50: '#5b507d',
    500: '#16124a',
    950: '#000000',
  },
}
SCSS
$custom: #16124a;
$custom-light: #5b507d;
$custom-dark: #000000;
JSON
{
  "hex": "#16124a",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 244.286,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23142,
    "c": 0.09942,
    "h": 278.4
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#16124A
secondary
#7D8335
accent
#E444D9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #16124A

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

Preview Lab → · Contrast checker → · Palette generator →

#16124A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva