#121C28#121C28

#121C28 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.3% C 0.028 H 253.5°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#121C28
RGBrgb(18, 28, 40)
HSLhsl(213, 38%, 11%)
HSVhsv(213, 55%, 16%)
CMYKcmyk(55%, 30%, 0%, 84.3%)
CIE-LABlab(9.89, -0.34, -9.55)
CIE-LCHlch(9.89, 9.56, 267.99°)
OKLaboklab(22.3% -0.0079 -0.0266)
OKLCHoklch(22.3% 0.028 253.5)
XYZxyz(1.0476, 1.1122, 2.1666)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C28 #281E12
analogous
#122728 #121C28 #131228
triadic
#121C28 #28121C #1C2812
tetradic
#121C28 #281227 #281E12 #122813
square
#121C28 #281227 #281E12 #122813
split-complementary
#121C28 #281312 #272812
monochromatic
#090F15 #090F15 #121C28 #253A52 #38577C

Accessibility & contrast

On white

17.18
#121C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C28
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C28#FFFFFF#000000##FFFFFF
##121C281.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171C29
Deuteranopia (green-blind)
#151A28
Tritanopia (blue-blind)
#0A1F20
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121c28;
/* rgb */ color: rgb(18, 28, 40);
/* oklch */ color: oklch(22.3% 0.028 253.5);
Tailwind
colors: {
  custom: {
    50: '#515761',
    500: '#121c28',
    950: '#000000',
  },
}
SCSS
$custom: #121c28;
$custom-light: #515761;
$custom-dark: #000000;
JSON
{
  "hex": "#121c28",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 212.727,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22296,
    "c": 0.02773,
    "h": 253.5
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#121C28
secondary
#5F4D37
accent
#995ACE
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #121C28

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

Preview Lab → · Contrast checker → · Palette generator →

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