#121E39#121E39

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

Color values

HEX#121E39
RGBrgb(18, 30, 57)
HSLhsl(222, 52%, 15%)
HSVhsv(222, 68%, 22%)
CMYKcmyk(68.4%, 47.4%, 0%, 77.6%)
CIE-LABlab(11.64, 4.94, -19.14)
CIE-LCHlch(11.64, 19.76, 284.47°)
OKLaboklab(23.99% -0.0052 -0.0544)
OKLCHoklch(23.99% 0.055 264.6)
XYZxyz(1.4520, 1.3524, 4.0546)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E39 #392D12
analogous
#123239 #121E39 #191239
triadic
#121E39 #39121E #1E3912
tetradic
#121E39 #391232 #392D12 #123919
square
#121E39 #391232 #392D12 #123919
split-complementary
#121E39 #391912 #323912
monochromatic
#070C17 #070C17 #121E39 #213668 #2F4F96

Accessibility & contrast

On white

16.53
#121E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E39
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E39#FFFFFF#000000##FFFFFF
##121E391.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213A
Deuteranopia (green-blind)
#0D1D38
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121e39;
/* rgb */ color: rgb(18, 30, 57);
/* oklch */ color: oklch(24.0% 0.055 264.6);
Tailwind
colors: {
  custom: {
    50: '#54596f',
    500: '#121e39',
    950: '#000000',
  },
}
SCSS
$custom: #121e39;
$custom-light: #54596f;
$custom-dark: #000000;
JSON
{
  "hex": "#121e39",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 221.538,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23991,
    "c": 0.05464,
    "h": 264.6
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#121E39
secondary
#725F35
accent
#AF4CDB
background
#F5F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121E39

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

Preview Lab → · Contrast checker → · Palette generator →

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