#121E36#121E36

#121E36 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.8% C 0.049 H 263.0°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#121E36
RGBrgb(18, 30, 54)
HSLhsl(220, 50%, 14%)
HSVhsv(220, 67%, 21%)
CMYKcmyk(66.7%, 44.4%, 0%, 78.8%)
CIE-LABlab(11.44, 3.69, -17.31)
CIE-LCHlch(11.44, 17.70, 282.04°)
OKLaboklab(23.77% -0.006 -0.049)
OKLCHoklch(23.77% 0.049 263)
XYZxyz(1.3794, 1.3234, 3.6721)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E36 #362A12
analogous
#123036 #121E36 #181236
triadic
#121E36 #36121E #1E3612
tetradic
#121E36 #361230 #362A12 #123618
square
#121E36 #361230 #362A12 #123618
split-complementary
#121E36 #361812 #303612
monochromatic
#080D17 #080D17 #121E36 #213864 #315192

Accessibility & contrast

On white

16.61
#121E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E36
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E36#FFFFFF#000000##FFFFFF
##121E361.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142037
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121e36;
/* rgb */ color: rgb(18, 30, 54);
/* oklch */ color: oklch(23.8% 0.049 263.0);
Tailwind
colors: {
  custom: {
    50: '#53596d',
    500: '#121e36',
    950: '#000000',
  },
}
SCSS
$custom: #121e36;
$custom-light: #53596d;
$custom-dark: #000000;
JSON
{
  "hex": "#121e36",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 54
  },
  "hsl": {
    "h": 220,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23772,
    "c": 0.0494,
    "h": 263
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#121E36
secondary
#6F5B35
accent
#AB4EDA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #121E36

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

Preview Lab → · Contrast checker → · Palette generator →

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