#121F31#121F31

#121F31 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.7% C 0.039 H 256.7°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#121F31
RGBrgb(18, 31, 49)
HSLhsl(215, 46%, 13%)
HSVhsv(215, 63%, 19%)
CMYKcmyk(63.3%, 36.7%, 0%, 80.8%)
CIE-LABlab(11.49, 0.91, -13.64)
CIE-LCHlch(11.49, 13.67, 273.81°)
OKLaboklab(23.71% -0.0091 -0.0383)
OKLCHoklch(23.71% 0.039 256.7)
XYZxyz(1.2936, 1.3302, 3.0937)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F31 #312412
analogous
#122E31 #121F31 #141231
triadic
#121F31 #31121F #1F3112
tetradic
#121F31 #31122E #312412 #123114
square
#121F31 #31122E #312412 #123114
split-complementary
#121F31 #311412 #2E3112
monochromatic
#080E16 #080E16 #121F31 #223B5E #33588B

Accessibility & contrast

On white

16.59
#121F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F31
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F31#FFFFFF#000000##FFFFFF
##121F311.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182032
Deuteranopia (green-blind)
#141D31
Tritanopia (blue-blind)
#032325
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121f31;
/* rgb */ color: rgb(18, 31, 49);
/* oklch */ color: oklch(23.7% 0.039 256.7);
Tailwind
colors: {
  custom: {
    50: '#525a69',
    500: '#121f31',
    950: '#000000',
  },
}
SCSS
$custom: #121f31;
$custom-light: #525a69;
$custom-dark: #000000;
JSON
{
  "hex": "#121f31",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 214.839,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23708,
    "c": 0.03941,
    "h": 256.7
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#121F31
secondary
#695436
accent
#9F52D6
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121F31

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

Preview Lab → · Contrast checker → · Palette generator →

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