#121A26#121A26

#121A26 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.6% C 0.027 H 258.3°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#121A26
RGBrgb(18, 26, 38)
HSLhsl(216, 36%, 11%)
HSVhsv(216, 53%, 15%)
CMYKcmyk(52.6%, 31.6%, 0%, 85.1%)
CIE-LABlab(9.05, 0.42, -9.37)
CIE-LCHlch(9.05, 9.38, 272.56°)
OKLaboklab(21.6% -0.0054 -0.0261)
OKLCHoklch(21.6% 0.027 258.3)
XYZxyz(0.9686, 1.0073, 1.9767)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A26 #261E12
analogous
#122426 #121A26 #141226
triadic
#121A26 #26121A #1A2612
tetradic
#121A26 #261224 #261E12 #122614
square
#121A26 #261224 #261E12 #122614
split-complementary
#121A26 #261412 #242612
monochromatic
#0A0E15 #0A0E15 #121A26 #263650 #395379

Accessibility & contrast

On white

17.48
#121A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#121A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A26
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A26#FFFFFF#000000##FFFFFF
##121A261.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B27
Deuteranopia (green-blind)
#131926
Tritanopia (blue-blind)
#0B1D1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121a26;
/* rgb */ color: rgb(18, 26, 38);
/* oklch */ color: oklch(21.6% 0.027 258.3);
Tailwind
colors: {
  custom: {
    50: '#515660',
    500: '#121a26',
    950: '#000000',
  },
}
SCSS
$custom: #121a26;
$custom-light: #515660;
$custom-dark: #000000;
JSON
{
  "hex": "#121a26",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 216,
    "s": 35.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21601,
    "c": 0.02662,
    "h": 258.3
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#121A26
secondary
#5C4E37
accent
#9F5CCC
background
#F4F5F5
surface
#E7E8E9
border
#C3C4C5
text
#020304
muted
#787879

Preview Lab

Preview with #121A26

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

Preview Lab → · Contrast checker → · Palette generator →

#121A26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva