#121D2F#121D2F

#121D2F is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.0% C 0.039 H 259.9°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#121D2F
RGBrgb(18, 29, 47)
HSLhsl(217, 45%, 13%)
HSVhsv(217, 62%, 18%)
CMYKcmyk(61.7%, 38.3%, 0%, 81.6%)
CIE-LABlab(10.65, 1.61, -13.50)
CIE-LCHlch(10.65, 13.60, 276.82°)
OKLaboklab(23.02% -0.0068 -0.038)
OKLCHoklch(23.02% 0.039 259.9)
XYZxyz(1.2017, 1.2125, 2.8595)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D2F #2F2412
analogous
#122B2F #121D2F #15122F
triadic
#121D2F #2F121D #1D2F12
tetradic
#121D2F #2F122B #2F2412 #122F15
square
#121D2F #2F122B #2F2412 #122F15
split-complementary
#121D2F #2F1512 #2B2F12
monochromatic
#080E16 #080E16 #121D2F #23385B #345488

Accessibility & contrast

On white

16.90
#121D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D2F
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D2F#FFFFFF#000000##FFFFFF
##121D2F1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#131C2F
Tritanopia (blue-blind)
#052123
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121d2f;
/* rgb */ color: rgb(18, 29, 47);
/* oklch */ color: oklch(23.0% 0.039 259.9);
Tailwind
colors: {
  custom: {
    50: '#525867',
    500: '#121d2f',
    950: '#000000',
  },
}
SCSS
$custom: #121d2f;
$custom-light: #525867;
$custom-dark: #000000;
JSON
{
  "hex": "#121d2f",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 217.241,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23016,
    "c": 0.03856,
    "h": 259.9
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#121D2F
secondary
#675436
accent
#A353D4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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