#121A2D#121A2D

#121A2D is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.0% C 0.039 H 265.9°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#121A2D
RGBrgb(18, 26, 45)
HSLhsl(222, 43%, 12%)
HSVhsv(222, 60%, 18%)
CMYKcmyk(60%, 42.2%, 0%, 82.4%)
CIE-LABlab(9.46, 3.11, -13.91)
CIE-LCHlch(9.46, 14.26, 282.60°)
OKLaboklab(22.05% -0.0028 -0.0392)
OKLCHoklch(22.05% 0.039 265.9)
XYZxyz(1.0923, 1.0568, 2.6285)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A2D #2D2512
analogous
#12282D #121A2D #18122D
triadic
#121A2D #2D121A #1A2D12
tetradic
#121A2D #2D1228 #2D2512 #122D18
square
#121A2D #2D1228 #2D2512 #122D18
split-complementary
#121A2D #2D1812 #282D12
monochromatic
#090D16 #090D16 #121A2D #233359 #354D84

Accessibility & contrast

On white

17.34
#121A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A2D
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A2D#FFFFFF#000000##FFFFFF
##121A2D1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2E
Deuteranopia (green-blind)
#10192D
Tritanopia (blue-blind)
#071E21
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121a2d;
/* rgb */ color: rgb(18, 26, 45);
/* oklch */ color: oklch(22.0% 0.039 265.9);
Tailwind
colors: {
  custom: {
    50: '#525666',
    500: '#121a2d',
    950: '#000000',
  },
}
SCSS
$custom: #121a2d;
$custom-light: #525666;
$custom-dark: #000000;
JSON
{
  "hex": "#121a2d",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 222.222,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22048,
    "c": 0.03928,
    "h": 265.9
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#121A2D
secondary
#655736
accent
#AD55D3
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020305
muted
#78787A

Preview Lab

Preview with #121A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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