#121F39#121F39

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

Color values

HEX#121F39
RGBrgb(18, 31, 57)
HSLhsl(220, 52%, 15%)
HSVhsv(220, 68%, 22%)
CMYKcmyk(68.4%, 45.6%, 0%, 77.6%)
CIE-LABlab(11.98, 4.17, -18.59)
CIE-LCHlch(11.98, 19.05, 282.65°)
OKLaboklab(24.26% -0.0065 -0.0528)
OKLCHoklch(24.26% 0.053 263)
XYZxyz(1.4777, 1.4039, 4.0632)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F39 #392C12
analogous
#123339 #121F39 #191239
triadic
#121F39 #39121F #1F3912
tetradic
#121F39 #391233 #392C12 #123919
square
#121F39 #391233 #392C12 #123919
split-complementary
#121F39 #391912 #333912
monochromatic
#070D17 #070D17 #121F39 #213868 #2F5296

Accessibility & contrast

On white

16.40
#121F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121F39
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F39#FFFFFF#000000##FFFFFF
##121F391.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14213A
Deuteranopia (green-blind)
#0F1E38
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121f39;
/* rgb */ color: rgb(18, 31, 57);
/* oklch */ color: oklch(24.3% 0.053 263.0);
Tailwind
colors: {
  custom: {
    50: '#545a6f',
    500: '#121f39',
    950: '#000000',
  },
}
SCSS
$custom: #121f39;
$custom-light: #545a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#121f39",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 220,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24258,
    "c": 0.05317,
    "h": 263
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#121F39
secondary
#725E35
accent
#AC4CDB
background
#F4F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121F39

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

Preview Lab → · Contrast checker → · Palette generator →

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