#121A2B#121A2B

#121A2B is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.9% C 0.036 H 264.4°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#121A2B
RGBrgb(18, 26, 43)
HSLhsl(221, 41%, 12%)
HSVhsv(221, 58%, 17%)
CMYKcmyk(58.1%, 39.5%, 0%, 83.1%)
CIE-LABlab(9.33, 2.33, -12.63)
CIE-LCHlch(9.33, 12.85, 280.44°)
OKLaboklab(21.91% -0.0035 -0.0355)
OKLCHoklch(21.91% 0.036 264.4)
XYZxyz(1.0548, 1.0417, 2.4305)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A2B #2B2312
analogous
#12272B #121A2B #17122B
triadic
#121A2B #2B121A #1A2B12
tetradic
#121A2B #2B1227 #2B2312 #122B17
square
#121A2B #2B1227 #2B2312 #122B17
split-complementary
#121A2B #2B1712 #272B12
monochromatic
#090D16 #090D16 #121A2B #243456 #364E81

Accessibility & contrast

On white

17.38
#121A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A2B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A2B#FFFFFF#000000##FFFFFF
##121A2B1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2C
Deuteranopia (green-blind)
#11192B
Tritanopia (blue-blind)
#081E20
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121a2b;
/* rgb */ color: rgb(18, 26, 43);
/* oklch */ color: oklch(21.9% 0.036 264.4);
Tailwind
colors: {
  custom: {
    50: '#515664',
    500: '#121a2b',
    950: '#000000',
  },
}
SCSS
$custom: #121a2b;
$custom-light: #515664;
$custom-dark: #000000;
JSON
{
  "hex": "#121a2b",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 220.8,
    "s": 40.984,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21914,
    "c": 0.03563,
    "h": 264.4
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#121A2B
secondary
#625436
accent
#AA57D1
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020305
muted
#78787A

Preview Lab

Preview with #121A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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