#121D2E#121D2E

#121D2E is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.0% C 0.037 H 258.8°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#121D2E
RGBrgb(18, 29, 46)
HSLhsl(216, 44%, 13%)
HSVhsv(216, 61%, 18%)
CMYKcmyk(60.9%, 37%, 0%, 82%)
CIE-LABlab(10.59, 1.22, -12.87)
CIE-LCHlch(10.59, 12.92, 275.42°)
OKLaboklab(22.95% -0.0071 -0.0361)
OKLCHoklch(22.95% 0.037 258.8)
XYZxyz(1.1818, 1.2045, 2.7545)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D2E #2E2312
analogous
#122B2E #121D2E #15122E
triadic
#121D2E #2E121D #1D2E12
tetradic
#121D2E #2E122B #2E2312 #122E15
square
#121D2E #2E122B #2E2312 #122E15
split-complementary
#121D2E #2E1512 #2B2E12
monochromatic
#090E16 #090E16 #121D2E #23395A #345486

Accessibility & contrast

On white

16.92
#121D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D2E
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D2E#FFFFFF#000000##FFFFFF
##121D2E1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#131B2E
Tritanopia (blue-blind)
#062123
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121d2e;
/* rgb */ color: rgb(18, 29, 46);
/* oklch */ color: oklch(23.0% 0.037 258.8);
Tailwind
colors: {
  custom: {
    50: '#525866',
    500: '#121d2e',
    950: '#000000',
  },
}
SCSS
$custom: #121d2e;
$custom-light: #525866;
$custom-dark: #000000;
JSON
{
  "hex": "#121d2e",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 216.429,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22951,
    "c": 0.03682,
    "h": 258.8
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#121D2E
secondary
#665336
accent
#A254D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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