#121C2B#121C2B

#121C2B is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.5% C 0.033 H 258.3°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#121C2B
RGBrgb(18, 28, 43)
HSLhsl(216, 41%, 12%)
HSVhsv(216, 58%, 17%)
CMYKcmyk(58.1%, 34.9%, 0%, 83.1%)
CIE-LABlab(10.06, 0.80, -11.50)
CIE-LCHlch(10.06, 11.53, 273.99°)
OKLaboklab(22.48% -0.0067 -0.0322)
OKLCHoklch(22.48% 0.033 258.3)
XYZxyz(1.1006, 1.1335, 2.4458)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C2B #2B2112
analogous
#12292B #121C2B #15122B
triadic
#121C2B #2B121C #1C2B12
tetradic
#121C2B #2B1229 #2B2112 #122B15
square
#121C2B #2B1229 #2B2112 #122B15
split-complementary
#121C2B #2B1512 #292B12
monochromatic
#090E16 #090E16 #121C2B #243856 #365481

Accessibility & contrast

On white

17.12
#121C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C2B
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C2B#FFFFFF#000000##FFFFFF
##121C2B1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2C
Deuteranopia (green-blind)
#131B2B
Tritanopia (blue-blind)
#081F21
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121c2b;
/* rgb */ color: rgb(18, 28, 43);
/* oklch */ color: oklch(22.5% 0.033 258.3);
Tailwind
colors: {
  custom: {
    50: '#515764',
    500: '#121c2b',
    950: '#000000',
  },
}
SCSS
$custom: #121c2b;
$custom-light: #515764;
$custom-dark: #000000;
JSON
{
  "hex": "#121c2b",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 43
  },
  "hsl": {
    "h": 216,
    "s": 40.984,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22478,
    "c": 0.03287,
    "h": 258.3
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#121C2B
secondary
#625136
accent
#A057D1
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #121C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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