#121E2B#121E2B

#121E2B is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 23.1% C 0.031 H 251.2°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#121E2B
RGBrgb(18, 30, 43)
HSLhsl(211, 41%, 12%)
HSVhsv(211, 58%, 17%)
CMYKcmyk(58.1%, 30.2%, 0%, 83.1%)
CIE-LABlab(10.79, -0.69, -10.37)
CIE-LCHlch(10.79, 10.39, 266.19°)
OKLaboklab(23.05% -0.0099 -0.0289)
OKLCHoklch(23.05% 0.031 251.2)
XYZxyz(1.1496, 1.2315, 2.4622)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E2B #2B1F12
analogous
#122B2B #121E2B #13122B
triadic
#121E2B #2B121E #1E2B12
tetradic
#121E2B #2B122B #2B1F12 #122B13
square
#121E2B #2B122B #2B1F12 #122B13
split-complementary
#121E2B #2B1312 #2B2B12
monochromatic
#090F16 #090F16 #121E2B #243C56 #365A81

Accessibility & contrast

On white

16.85
#121E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E2B
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E2B#FFFFFF#000000##FFFFFF
##121E2B1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2C
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#082122
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121e2b;
/* rgb */ color: rgb(18, 30, 43);
/* oklch */ color: oklch(23.1% 0.031 251.2);
Tailwind
colors: {
  custom: {
    50: '#515964',
    500: '#121e2b',
    950: '#000000',
  },
}
SCSS
$custom: #121e2b;
$custom-light: #515964;
$custom-dark: #000000;
JSON
{
  "hex": "#121e2b",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 211.2,
    "s": 40.984,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23051,
    "c": 0.03056,
    "h": 251.2
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#121E2B
secondary
#624D36
accent
#9657D1
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #121E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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