#16123E#16123E

#16123E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.081 H 281.5°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#16123E
RGBrgb(22, 18, 62)
HSLhsl(245, 55%, 16%)
HSVhsv(245, 71%, 24%)
CMYKcmyk(64.5%, 71%, 0%, 75.7%)
CIE-LABlab(8.58, 17.11, -27.61)
CIE-LCHlch(8.58, 32.49, 301.79°)
OKLaboklab(21.9% 0.0161 -0.0793)
OKLCHoklch(21.9% 0.081 281.5)
XYZxyz(1.4164, 0.9509, 4.6654)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16123E #3A3E12
analogous
#12243E #16123E #2C123E
triadic
#16123E #3E1612 #123E16
tetradic
#16123E #3E1224 #3A3E12 #123E2C
square
#16123E #3E1224 #3A3E12 #123E2C
split-complementary
#16123E #3E2C12 #243E12
monochromatic
#080718 #080718 #16123E #27206D #382E9D

Accessibility & contrast

On white

17.64
#16123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16123E
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16123E#FFFFFF#000000##FFFFFF
##16123E1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#031D25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #16123e;
/* rgb */ color: rgb(22, 18, 62);
/* oklch */ color: oklch(21.9% 0.081 281.5);
Tailwind
colors: {
  custom: {
    50: '#585074',
    500: '#16123e',
    950: '#000000',
  },
}
SCSS
$custom: #16123e;
$custom-light: #585074;
$custom-dark: #000000;
JSON
{
  "hex": "#16123e",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 245.455,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21897,
    "c": 0.08094,
    "h": 281.5
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#16123E
secondary
#717735
accent
#DE49D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #16123E

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

Preview Lab → · Contrast checker → · Palette generator →

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