#121F2E#121F2E

#121F2E is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.5% C 0.034 H 252.8°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#121F2E
RGBrgb(18, 31, 46)
HSLhsl(212, 44%, 13%)
HSVhsv(212, 61%, 18%)
CMYKcmyk(60.9%, 32.6%, 0%, 82%)
CIE-LABlab(11.32, -0.27, -11.74)
CIE-LCHlch(11.32, 11.74, 268.66°)
OKLaboklab(23.52% -0.0102 -0.0328)
OKLCHoklch(23.52% 0.034 252.8)
XYZxyz(1.2324, 1.3057, 2.7713)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F2E #2E2112
analogous
#122D2E #121F2E #13122E
triadic
#121F2E #2E121F #1F2E12
tetradic
#121F2E #2E122D #2E2112 #122E13
square
#121F2E #2E122D #2E2112 #122E13
split-complementary
#121F2E #2E1312 #2D2E12
monochromatic
#090F16 #090F16 #121F2E #233D5A #345A86

Accessibility & contrast

On white

16.65
#121F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121F2E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F2E#FFFFFF#000000##FFFFFF
##121F2E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19202F
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#052224
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121f2e;
/* rgb */ color: rgb(18, 31, 46);
/* oklch */ color: oklch(23.5% 0.034 252.8);
Tailwind
colors: {
  custom: {
    50: '#525a66',
    500: '#121f2e',
    950: '#000000',
  },
}
SCSS
$custom: #121f2e;
$custom-light: #525a66;
$custom-dark: #000000;
JSON
{
  "hex": "#121f2e",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 212.143,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23519,
    "c": 0.0344,
    "h": 252.8
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#121F2E
secondary
#665036
accent
#9854D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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