#121A2A#121A2A

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

Color values

HEX#121A2A
RGBrgb(18, 26, 42)
HSLhsl(220, 40%, 12%)
HSVhsv(220, 57%, 16%)
CMYKcmyk(57.1%, 38.1%, 0%, 83.5%)
CIE-LABlab(9.28, 1.94, -11.99)
CIE-LCHlch(9.28, 12.14, 279.17°)
OKLaboklab(21.85% -0.0038 -0.0336)
OKLCHoklch(21.85% 0.034 263.5)
XYZxyz(1.0366, 1.0345, 2.3351)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A2A #2A2212
analogous
#12262A #121A2A #16122A
triadic
#121A2A #2A121A #1A2A12
tetradic
#121A2A #2A1226 #2A2212 #122A16
square
#121A2A #2A1226 #2A2212 #122A16
split-complementary
#121A2A #2A1612 #262A12
monochromatic
#090D15 #090D15 #121A2A #243555 #374F80

Accessibility & contrast

On white

17.40
#121A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A2A
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A2A#FFFFFF#000000##FFFFFF
##121A2A1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2B
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#091D20
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121a2a;
/* rgb */ color: rgb(18, 26, 42);
/* oklch */ color: oklch(21.8% 0.034 263.5);
Tailwind
colors: {
  custom: {
    50: '#515663',
    500: '#121a2a',
    950: '#000000',
  },
}
SCSS
$custom: #121a2a;
$custom-light: #515663;
$custom-dark: #000000;
JSON
{
  "hex": "#121a2a",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 220,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21849,
    "c": 0.03381,
    "h": 263.5
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#121A2A
secondary
#615337
accent
#A858D0
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#020305
muted
#787879

Preview Lab

Preview with #121A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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