#12141A#12141A

#12141A is a very dark, near-neutral blue. Relative luminance 0.007; OKLCH L 19.2% C 0.013 H 270.7°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#12141A
RGBrgb(18, 20, 26)
HSLhsl(225, 18%, 9%)
HSVhsv(225, 31%, 10%)
CMYKcmyk(30.8%, 23.1%, 0%, 89.8%)
CIE-LABlab(6.35, 0.71, -4.39)
CIE-LCHlch(6.35, 4.44, 279.20°)
OKLaboklab(19.19% 0.0001 -0.0126)
OKLCHoklch(19.19% 0.013 270.7)
XYZxyz(0.6860, 0.7035, 1.0767)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12141A #1A1812
analogous
#12181A #12141A #14121A
triadic
#12141A #1A1214 #141A12
tetradic
#12141A #1A1218 #1A1812 #121A14
square
#12141A #1A1218 #1A1812 #121A14
split-complementary
#12141A #1A1412 #181A12
monochromatic
#0D0E12 #0D0E12 #12141A #2B303E #444C62

Accessibility & contrast

On white

18.41
#12141A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#12141A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12141A
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12141A#FFFFFF#000000##FFFFFF
##12141A1.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12141A
Deuteranopia (green-blind)
#12141A
Tritanopia (blue-blind)
#101516
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #12141a;
/* rgb */ color: rgb(18, 20, 26);
/* oklch */ color: oklch(19.2% 0.013 270.7);
Tailwind
colors: {
  custom: {
    50: '#4f5156',
    500: '#12141a',
    950: '#000000',
  },
}
SCSS
$custom: #12141a;
$custom-light: #4f5156;
$custom-dark: #000000;
JSON
{
  "hex": "#12141a",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 26
  },
  "hsl": {
    "h": 225,
    "s": 18.182,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19189,
    "c": 0.01257,
    "h": 270.7
  },
  "luminance": 0.00703
}

Semantic roles & 50–950 ramp

primary
#12141A
secondary
#4D483B
accent
#A76DBB
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020203
muted
#787878

Preview Lab

Preview with #12141A

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

Preview Lab → · Contrast checker → · Palette generator →

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