#121E28#121E28

#121E28 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.9% C 0.026 H 244.4°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#121E28
RGBrgb(18, 30, 40)
HSLhsl(207, 38%, 11%)
HSVhsv(207, 55%, 16%)
CMYKcmyk(55%, 25%, 0%, 84.3%)
CIE-LABlab(10.63, -1.82, -8.41)
CIE-LCHlch(10.63, 8.61, 257.81°)
OKLaboklab(22.88% -0.0112 -0.0233)
OKLCHoklch(22.88% 0.026 244.4)
XYZxyz(1.0966, 1.2103, 2.1829)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E28 #281C12
analogous
#122827 #121E28 #121328
triadic
#121E28 #28121E #1E2812
tetradic
#121E28 #271228 #281C12 #132812
square
#121E28 #271228 #281C12 #132812
split-complementary
#121E28 #281213 #282712
monochromatic
#091015 #091015 #121E28 #253E52 #385D7C

Accessibility & contrast

On white

16.91
#121E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E28
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E28#FFFFFF#000000##FFFFFF
##121E281.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E28
Deuteranopia (green-blind)
#171C28
Tritanopia (blue-blind)
#092021
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121e28;
/* rgb */ color: rgb(18, 30, 40);
/* oklch */ color: oklch(22.9% 0.026 244.4);
Tailwind
colors: {
  custom: {
    50: '#515961',
    500: '#121e28',
    950: '#000000',
  },
}
SCSS
$custom: #121e28;
$custom-light: #515961;
$custom-dark: #000000;
JSON
{
  "hex": "#121e28",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 207.273,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22878,
    "c": 0.02588,
    "h": 244.4
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#121E28
secondary
#5F4937
accent
#8F5ACE
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020305
muted
#787879

Preview Lab

Preview with #121E28

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

Preview Lab → · Contrast checker → · Palette generator →

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