#121F2F#121F2F

#121F2F is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.6% C 0.036 H 254.2°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#121F2F
RGBrgb(18, 31, 47)
HSLhsl(213, 45%, 13%)
HSVhsv(213, 62%, 18%)
CMYKcmyk(61.7%, 34%, 0%, 81.6%)
CIE-LABlab(11.37, 0.12, -12.37)
CIE-LCHlch(11.37, 12.37, 270.55°)
OKLaboklab(23.58% -0.0098 -0.0347)
OKLCHoklch(23.58% 0.036 254.2)
XYZxyz(1.2524, 1.3137, 2.8764)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F2F #2F2212
analogous
#122D2F #121F2F #13122F
triadic
#121F2F #2F121F #1F2F12
tetradic
#121F2F #2F122D #2F2212 #122F13
square
#121F2F #2F122D #2F2212 #122F13
split-complementary
#121F2F #2F1312 #2D2F12
monochromatic
#080F16 #080F16 #121F2F #233C5B #345988

Accessibility & contrast

On white

16.63
#121F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121F2F
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F2F#FFFFFF#000000##FFFFFF
##121F2F1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#151D2F
Tritanopia (blue-blind)
#052325
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121f2f;
/* rgb */ color: rgb(18, 31, 47);
/* oklch */ color: oklch(23.6% 0.036 254.2);
Tailwind
colors: {
  custom: {
    50: '#525a67',
    500: '#121f2f',
    950: '#000000',
  },
}
SCSS
$custom: #121f2f;
$custom-light: #525a67;
$custom-dark: #000000;
JSON
{
  "hex": "#121f2f",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 213.103,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23581,
    "c": 0.03605,
    "h": 254.2
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#121F2F
secondary
#675136
accent
#9B53D4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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