#121F2B#121F2B

#121F2B is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.030 H 247.2°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#121F2B
RGBrgb(18, 31, 43)
HSLhsl(209, 41%, 12%)
HSVhsv(209, 58%, 17%)
CMYKcmyk(58.1%, 27.9%, 0%, 83.1%)
CIE-LABlab(11.16, -1.43, -9.80)
CIE-LCHlch(11.16, 9.91, 261.72°)
OKLaboklab(23.34% -0.0114 -0.0273)
OKLCHoklch(23.34% 0.03 247.2)
XYZxyz(1.1753, 1.2829, 2.4707)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F2B #2B1E12
analogous
#122B2B #121F2B #12132B
triadic
#121F2B #2B121F #1F2B12
tetradic
#121F2B #2B122B #2B1E12 #132B12
square
#121F2B #2B122B #2B1E12 #132B12
split-complementary
#121F2B #2B1213 #2B2B12
monochromatic
#091016 #091016 #121F2B #243E56 #365D81

Accessibility & contrast

On white

16.71
#121F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F2B
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F2B#FFFFFF#000000##FFFFFF
##121F2B1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2C
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#072223
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121f2b;
/* rgb */ color: rgb(18, 31, 43);
/* oklch */ color: oklch(23.3% 0.030 247.2);
Tailwind
colors: {
  custom: {
    50: '#515a64',
    500: '#121f2b',
    950: '#000000',
  },
}
SCSS
$custom: #121f2b;
$custom-light: #515a64;
$custom-dark: #000000;
JSON
{
  "hex": "#121f2b",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 208.8,
    "s": 40.984,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2334,
    "c": 0.0296,
    "h": 247.2
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#121F2B
secondary
#624C36
accent
#9157D1
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #121F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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