#121D2D#121D2D

#121D2D is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.9% C 0.035 H 257.7°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#121D2D
RGBrgb(18, 29, 45)
HSLhsl(216, 43%, 12%)
HSVhsv(216, 60%, 18%)
CMYKcmyk(60%, 35.6%, 0%, 82.4%)
CIE-LABlab(10.53, 0.83, -12.23)
CIE-LCHlch(10.53, 12.25, 273.87°)
OKLaboklab(22.89% -0.0075 -0.0343)
OKLCHoklch(22.89% 0.035 257.7)
XYZxyz(1.1623, 1.1967, 2.6519)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D2D #2D2212
analogous
#122A2D #121D2D #15122D
triadic
#121D2D #2D121D #1D2D12
tetradic
#121D2D #2D122A #2D2212 #122D15
square
#121D2D #2D122A #2D2212 #122D15
split-complementary
#121D2D #2D1512 #2A2D12
monochromatic
#090E16 #090E16 #121D2D #233959 #355584

Accessibility & contrast

On white

16.94
#121D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D2D
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D2D#FFFFFF#000000##FFFFFF
##121D2D1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2E
Deuteranopia (green-blind)
#141B2D
Tritanopia (blue-blind)
#062123
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121d2d;
/* rgb */ color: rgb(18, 29, 45);
/* oklch */ color: oklch(22.9% 0.035 257.7);
Tailwind
colors: {
  custom: {
    50: '#525866',
    500: '#121d2d',
    950: '#000000',
  },
}
SCSS
$custom: #121d2d;
$custom-light: #525866;
$custom-dark: #000000;
JSON
{
  "hex": "#121d2d",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 215.556,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22887,
    "c": 0.03508,
    "h": 257.7
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#121D2D
secondary
#655236
accent
#A055D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #121D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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