#121B2E#121B2E

#121B2E is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.4% C 0.040 H 264.2°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#121B2E
RGBrgb(18, 27, 46)
HSLhsl(221, 44%, 13%)
HSVhsv(221, 61%, 18%)
CMYKcmyk(60.9%, 41.3%, 0%, 82%)
CIE-LABlab(9.87, 2.74, -13.99)
CIE-LCHlch(9.87, 14.26, 281.09°)
OKLaboklab(22.39% -0.004 -0.0394)
OKLCHoklch(22.39% 0.04 264.2)
XYZxyz(1.1344, 1.1096, 2.7386)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B2E #2E2512
analogous
#12292E #121B2E #17122E
triadic
#121B2E #2E121B #1B2E12
tetradic
#121B2E #2E1229 #2E2512 #122E17
square
#121B2E #2E1229 #2E2512 #122E17
split-complementary
#121B2E #2E1712 #292E12
monochromatic
#090D16 #090D16 #121B2E #23355A #344F86

Accessibility & contrast

On white

17.18
#121B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B2E
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B2E#FFFFFF#000000##FFFFFF
##121B2E1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D2F
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#061F22
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121b2e;
/* rgb */ color: rgb(18, 27, 46);
/* oklch */ color: oklch(22.4% 0.040 264.2);
Tailwind
colors: {
  custom: {
    50: '#525766',
    500: '#121b2e',
    950: '#000000',
  },
}
SCSS
$custom: #121b2e;
$custom-light: #525766;
$custom-dark: #000000;
JSON
{
  "hex": "#121b2e",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 220.714,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22393,
    "c": 0.03959,
    "h": 264.2
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#121B2E
secondary
#665636
accent
#AB54D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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