#121C2F#121C2F

#121C2F is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.7% C 0.040 H 262.5°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#121C2F
RGBrgb(18, 28, 47)
HSLhsl(219, 45%, 13%)
HSVhsv(219, 62%, 18%)
CMYKcmyk(61.7%, 40.4%, 0%, 81.6%)
CIE-LABlab(10.29, 2.37, -14.06)
CIE-LCHlch(10.29, 14.26, 279.58°)
OKLaboklab(22.74% -0.0052 -0.0396)
OKLCHoklch(22.74% 0.04 262.5)
XYZxyz(1.1776, 1.1643, 2.8514)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C2F #2F2512
analogous
#122A2F #121C2F #16122F
triadic
#121C2F #2F121C #1C2F12
tetradic
#121C2F #2F122A #2F2512 #122F16
square
#121C2F #2F122A #2F2512 #122F16
split-complementary
#121C2F #2F1612 #2A2F12
monochromatic
#080D16 #080D16 #121C2F #23365B #345188

Accessibility & contrast

On white

17.03
#121C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C2F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C2F#FFFFFF#000000##FFFFFF
##121C2F1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151E30
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#052023
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121c2f;
/* rgb */ color: rgb(18, 28, 47);
/* oklch */ color: oklch(22.7% 0.040 262.5);
Tailwind
colors: {
  custom: {
    50: '#525767',
    500: '#121c2f',
    950: '#000000',
  },
}
SCSS
$custom: #121c2f;
$custom-light: #525767;
$custom-dark: #000000;
JSON
{
  "hex": "#121c2f",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 219.31,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22737,
    "c": 0.03994,
    "h": 262.5
  },
  "luminance": 0.01164
}

Semantic roles & 50–950 ramp

primary
#121C2F
secondary
#675636
accent
#A853D4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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