#121F27#121F27

#121F27 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.1% C 0.024 H 236.2°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#121F27
RGBrgb(18, 31, 39)
HSLhsl(203, 37%, 11%)
HSVhsv(203, 54%, 15%)
CMYKcmyk(53.8%, 20.5%, 0%, 84.7%)
CIE-LABlab(10.96, -2.91, -7.18)
CIE-LCHlch(10.96, 7.75, 247.96°)
OKLaboklab(23.12% -0.0133 -0.0199)
OKLCHoklch(23.12% 0.024 236.2)
XYZxyz(1.1055, 1.2550, 2.1030)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F27 #271A12
analogous
#122724 #121F27 #121427
triadic
#121F27 #27121F #1F2712
tetradic
#121F27 #241227 #271A12 #142712
square
#121F27 #241227 #271A12 #142712
split-complementary
#121F27 #271214 #272412
monochromatic
#0A1115 #0A1115 #121F27 #254051 #39627B

Accessibility & contrast

On white

16.79
#121F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F27
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F27#FFFFFF#000000##FFFFFF
##121F271.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F27
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#0A2122
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121f27;
/* rgb */ color: rgb(18, 31, 39);
/* oklch */ color: oklch(23.1% 0.024 236.2);
Tailwind
colors: {
  custom: {
    50: '#515a61',
    500: '#121f27',
    950: '#000000',
  },
}
SCSS
$custom: #121f27;
$custom-light: #515a61;
$custom-dark: #000000;
JSON
{
  "hex": "#121f27",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 202.857,
    "s": 36.842,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23118,
    "c": 0.02389,
    "h": 236.2
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#121F27
secondary
#5E4637
accent
#865BCD
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020305
muted
#787879

Preview Lab

Preview with #121F27

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

Preview Lab → · Contrast checker → · Palette generator →

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