#121E27#121E27

#121E27 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.8% C 0.024 H 241.5°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#121E27
RGBrgb(18, 30, 39)
HSLhsl(206, 37%, 11%)
HSVhsv(206, 54%, 15%)
CMYKcmyk(53.8%, 23.1%, 0%, 84.7%)
CIE-LABlab(10.58, -2.18, -7.75)
CIE-LCHlch(10.58, 8.06, 254.27°)
OKLaboklab(22.82% -0.0116 -0.0215)
OKLCHoklch(22.82% 0.024 241.5)
XYZxyz(1.0798, 1.2036, 2.0945)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E27 #271B12
analogous
#122725 #121E27 #121327
triadic
#121E27 #27121E #1E2712
tetradic
#121E27 #251227 #271B12 #132712
square
#121E27 #251227 #271B12 #132712
split-complementary
#121E27 #271213 #272512
monochromatic
#0A1015 #0A1015 #121E27 #253E51 #395E7B

Accessibility & contrast

On white

16.92
#121E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E27
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E27#FFFFFF#000000##FFFFFF
##121E271.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E27
Deuteranopia (green-blind)
#171C27
Tritanopia (blue-blind)
#0A2021
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121e27;
/* rgb */ color: rgb(18, 30, 39);
/* oklch */ color: oklch(22.8% 0.024 241.5);
Tailwind
colors: {
  custom: {
    50: '#515961',
    500: '#121e27',
    950: '#000000',
  },
}
SCSS
$custom: #121e27;
$custom-light: #515961;
$custom-dark: #000000;
JSON
{
  "hex": "#121e27",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 205.714,
    "s": 36.842,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22822,
    "c": 0.02442,
    "h": 241.5
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#121E27
secondary
#5E4837
accent
#8C5BCD
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020305
muted
#787879

Preview Lab

Preview with #121E27

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

Preview Lab → · Contrast checker → · Palette generator →

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