#16123D#16123D

#16123D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.079 H 281.8°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#16123D
RGBrgb(22, 18, 61)
HSLhsl(246, 54%, 15%)
HSVhsv(246, 70%, 24%)
CMYKcmyk(63.9%, 70.5%, 0%, 76.1%)
CIE-LABlab(8.48, 16.73, -27.05)
CIE-LCHlch(8.48, 31.81, 301.73°)
OKLaboklab(21.8% 0.0162 -0.0777)
OKLCHoklch(21.8% 0.079 281.8)
XYZxyz(1.3892, 0.9400, 4.5222)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16123D #393D12
analogous
#12233D #16123D #2B123D
triadic
#16123D #3D1612 #123D16
tetradic
#16123D #3D1223 #393D12 #123D2B
square
#16123D #3D1223 #393D12 #123D2B
split-complementary
#16123D #3D2B12 #233D12
monochromatic
#090718 #090718 #16123D #27206C #382E9C

Accessibility & contrast

On white

17.68
#16123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#16123D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16123D
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16123D#FFFFFF#000000##FFFFFF
##16123D1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#041C25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #16123d;
/* rgb */ color: rgb(22, 18, 61);
/* oklch */ color: oklch(21.8% 0.079 281.8);
Tailwind
colors: {
  custom: {
    50: '#585073',
    500: '#16123d',
    950: '#000000',
  },
}
SCSS
$custom: #16123d;
$custom-light: #585073;
$custom-dark: #000000;
JSON
{
  "hex": "#16123d",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 245.581,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21799,
    "c": 0.07934,
    "h": 281.8
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#16123D
secondary
#707635
accent
#DE4AD0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #16123D

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

Preview Lab → · Contrast checker → · Palette generator →

#16123D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva