#121F3A#121F3A

#121F3A is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.3% C 0.055 H 263.5°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#121F3A
RGBrgb(18, 31, 58)
HSLhsl(221, 53%, 15%)
HSVhsv(221, 69%, 23%)
CMYKcmyk(69%, 46.6%, 0%, 77.3%)
CIE-LABlab(12.05, 4.59, -19.19)
CIE-LCHlch(12.05, 19.73, 283.46°)
OKLaboklab(24.33% -0.0063 -0.0545)
OKLCHoklch(24.33% 0.055 263.5)
XYZxyz(1.5029, 1.4139, 4.1959)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F3A #3A2D12
analogous
#12333A #121F3A #19123A
triadic
#121F3A #3A121F #1F3A12
tetradic
#121F3A #3A1233 #3A2D12 #123A19
square
#121F3A #3A1233 #3A2D12 #123A19
split-complementary
#121F3A #3A1912 #333A12
monochromatic
#070C17 #070C17 #121F3A #203869 #2F5197

Accessibility & contrast

On white

16.37
#121F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F3A
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F3A#FFFFFF#000000##FFFFFF
##121F3A1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223B
Deuteranopia (green-blind)
#0E1E39
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121f3a;
/* rgb */ color: rgb(18, 31, 58);
/* oklch */ color: oklch(24.3% 0.055 263.5);
Tailwind
colors: {
  custom: {
    50: '#545a70',
    500: '#121f3a',
    950: '#000000',
  },
}
SCSS
$custom: #121f3a;
$custom-light: #545a70;
$custom-dark: #000000;
JSON
{
  "hex": "#121f3a",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 220.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24331,
    "c": 0.0549,
    "h": 263.5
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#121F3A
secondary
#735F35
accent
#AD4CDC
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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