#121C2A#121C2A

#121C2A is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.4% C 0.031 H 256.9°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#121C2A
RGBrgb(18, 28, 42)
HSLhsl(215, 40%, 12%)
HSVhsv(215, 57%, 16%)
CMYKcmyk(57.1%, 33.3%, 0%, 83.5%)
CIE-LABlab(10.00, 0.42, -10.86)
CIE-LCHlch(10.00, 10.87, 272.22°)
OKLaboklab(22.42% -0.0071 -0.0303)
OKLCHoklch(22.42% 0.031 256.9)
XYZxyz(1.0825, 1.1262, 2.3504)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C2A #2A2012
analogous
#12282A #121C2A #14122A
triadic
#121C2A #2A121C #1C2A12
tetradic
#121C2A #2A1228 #2A2012 #122A14
square
#121C2A #2A1228 #2A2012 #122A14
split-complementary
#121C2A #2A1412 #282A12
monochromatic
#090E15 #090E15 #121C2A #243955 #375580

Accessibility & contrast

On white

17.14
#121C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C2A
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C2A#FFFFFF#000000##FFFFFF
##121C2A1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171D2B
Deuteranopia (green-blind)
#141A2A
Tritanopia (blue-blind)
#081F21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121c2a;
/* rgb */ color: rgb(18, 28, 42);
/* oklch */ color: oklch(22.4% 0.031 256.9);
Tailwind
colors: {
  custom: {
    50: '#515763',
    500: '#121c2a',
    950: '#000000',
  },
}
SCSS
$custom: #121c2a;
$custom-light: #515763;
$custom-dark: #000000;
JSON
{
  "hex": "#121c2a",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 215,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22416,
    "c": 0.03114,
    "h": 256.9
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#121C2A
secondary
#614F37
accent
#9E58D0
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #121C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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