#121F2A#121F2A

#121F2A is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.028 H 244.9°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#121F2A
RGBrgb(18, 31, 42)
HSLhsl(208, 40%, 12%)
HSVhsv(208, 57%, 16%)
CMYKcmyk(57.1%, 26.2%, 0%, 83.5%)
CIE-LABlab(11.10, -1.80, -9.15)
CIE-LCHlch(11.10, 9.33, 258.85°)
OKLaboklab(23.28% -0.0119 -0.0254)
OKLCHoklch(23.28% 0.028 244.9)
XYZxyz(1.1572, 1.2757, 2.3753)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F2A #2A1D12
analogous
#122A29 #121F2A #12132A
triadic
#121F2A #2A121F #1F2A12
tetradic
#121F2A #29122A #2A1D12 #132A12
square
#121F2A #29122A #2A1D12 #132A12
split-complementary
#121F2A #2A1213 #2A2912
monochromatic
#091015 #091015 #121F2A #243F55 #375E80

Accessibility & contrast

On white

16.73
#121F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F2A
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F2A#FFFFFF#000000##FFFFFF
##121F2A1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2B
Deuteranopia (green-blind)
#171D2A
Tritanopia (blue-blind)
#082223
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121f2a;
/* rgb */ color: rgb(18, 31, 42);
/* oklch */ color: oklch(23.3% 0.028 244.9);
Tailwind
colors: {
  custom: {
    50: '#515a63',
    500: '#121f2a',
    950: '#000000',
  },
}
SCSS
$custom: #121f2a;
$custom-light: #515a63;
$custom-dark: #000000;
JSON
{
  "hex": "#121f2a",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 207.5,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23283,
    "c": 0.02808,
    "h": 244.9
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#121F2A
secondary
#614A37
accent
#8F58D0
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #121F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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