#121A29#121A29

#121A29 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.8% C 0.032 H 262.5°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#121A29
RGBrgb(18, 26, 41)
HSLhsl(219, 39%, 12%)
HSVhsv(219, 56%, 16%)
CMYKcmyk(56.1%, 36.6%, 0%, 83.9%)
CIE-LABlab(9.22, 1.55, -11.34)
CIE-LCHlch(9.22, 11.45, 277.80°)
OKLaboklab(21.79% -0.0042 -0.0317)
OKLCHoklch(21.79% 0.032 262.5)
XYZxyz(1.0190, 1.0274, 2.2420)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A29 #292112
analogous
#122629 #121A29 #161229
triadic
#121A29 #29121A #1A2912
tetradic
#121A29 #291226 #292112 #122916
square
#121A29 #291226 #292112 #122916
split-complementary
#121A29 #291612 #262912
monochromatic
#090D15 #090D15 #121A29 #253554 #37507E

Accessibility & contrast

On white

17.42
#121A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#121A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A29
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A29#FFFFFF#000000##FFFFFF
##121A291.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B2A
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#091D1F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121a29;
/* rgb */ color: rgb(18, 26, 41);
/* oklch */ color: oklch(21.8% 0.032 262.5);
Tailwind
colors: {
  custom: {
    50: '#515662',
    500: '#121a29',
    950: '#000000',
  },
}
SCSS
$custom: #121a29;
$custom-light: #515662;
$custom-dark: #000000;
JSON
{
  "hex": "#121a29",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 41
  },
  "hsl": {
    "h": 219.13,
    "s": 38.983,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21785,
    "c": 0.032,
    "h": 262.5
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#121A29
secondary
#605237
accent
#A659CF
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#020305
muted
#787879

Preview Lab

Preview with #121A29

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

Preview Lab → · Contrast checker → · Palette generator →

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