#121A2C#121A2C

#121A2C is a very dark, muted blue. Relative luminance 0.010; OKLCH L 22.0% C 0.037 H 265.2°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#121A2C
RGBrgb(18, 26, 44)
HSLhsl(222, 42%, 12%)
HSVhsv(222, 59%, 17%)
CMYKcmyk(59.1%, 40.9%, 0%, 82.7%)
CIE-LABlab(9.39, 2.72, -13.27)
CIE-LCHlch(9.39, 13.55, 281.56°)
OKLaboklab(21.98% -0.0031 -0.0373)
OKLCHoklch(21.98% 0.037 265.2)
XYZxyz(1.0733, 1.0492, 2.5283)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A2C #2C2412
analogous
#12272C #121A2C #17122C
triadic
#121A2C #2C121A #1A2C12
tetradic
#121A2C #2C1227 #2C2412 #122C17
square
#121A2C #2C1227 #2C2412 #122C17
split-complementary
#121A2C #2C1712 #272C12
monochromatic
#090D16 #090D16 #121A2C #243457 #364D83

Accessibility & contrast

On white

17.36
#121A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#121A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A2C
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A2C#FFFFFF#000000##FFFFFF
##121A2C1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2D
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#081E21
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121a2c;
/* rgb */ color: rgb(18, 26, 44);
/* oklch */ color: oklch(22.0% 0.037 265.2);
Tailwind
colors: {
  custom: {
    50: '#515665',
    500: '#121a2c',
    950: '#000000',
  },
}
SCSS
$custom: #121a2c;
$custom-light: #515665;
$custom-dark: #000000;
JSON
{
  "hex": "#121a2c",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 221.538,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21981,
    "c": 0.03745,
    "h": 265.2
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#121A2C
secondary
#635636
accent
#AC56D2
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020305
muted
#78787A

Preview Lab

Preview with #121A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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