#121B2A#121B2A

#121B2A is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.1% C 0.032 H 260.3°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#121B2A
RGBrgb(18, 27, 42)
HSLhsl(218, 40%, 12%)
HSVhsv(218, 57%, 16%)
CMYKcmyk(57.1%, 35.7%, 0%, 83.5%)
CIE-LABlab(9.64, 1.17, -11.42)
CIE-LCHlch(9.64, 11.48, 275.87°)
OKLaboklab(22.13% -0.0054 -0.032)
OKLCHoklch(22.13% 0.032 260.3)
XYZxyz(1.0592, 1.0796, 2.3426)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B2A #2A2112
analogous
#12272A #121B2A #15122A
triadic
#121B2A #2A121B #1B2A12
tetradic
#121B2A #2A1227 #2A2112 #122A15
square
#121B2A #2A1227 #2A2112 #122A15
split-complementary
#121B2A #2A1512 #272A12
monochromatic
#090E15 #090E15 #121B2A #243755 #375280

Accessibility & contrast

On white

17.27
#121B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B2A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B2A#FFFFFF#000000##FFFFFF
##121B2A1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2B
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#091E20
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121b2a;
/* rgb */ color: rgb(18, 27, 42);
/* oklch */ color: oklch(22.1% 0.032 260.3);
Tailwind
colors: {
  custom: {
    50: '#515763',
    500: '#121b2a',
    950: '#000000',
  },
}
SCSS
$custom: #121b2a;
$custom-light: #515763;
$custom-dark: #000000;
JSON
{
  "hex": "#121b2a",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 217.5,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22131,
    "c": 0.03242,
    "h": 260.3
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#121B2A
secondary
#615137
accent
#A358D0
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #121B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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