#121E38#121E38

#121E38 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.9% C 0.053 H 264.1°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#121E38
RGBrgb(18, 30, 56)
HSLhsl(221, 51%, 15%)
HSVhsv(221, 68%, 22%)
CMYKcmyk(67.9%, 46.4%, 0%, 78%)
CIE-LABlab(11.57, 4.52, -18.53)
CIE-LCHlch(11.57, 19.07, 283.71°)
OKLaboklab(23.92% -0.0054 -0.0526)
OKLCHoklch(23.92% 0.053 264.1)
XYZxyz(1.4273, 1.3426, 3.9245)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E38 #382C12
analogous
#123138 #121E38 #191238
triadic
#121E38 #38121E #1E3812
tetradic
#121E38 #381231 #382C12 #123819
square
#121E38 #381231 #382C12 #123819
split-complementary
#121E38 #381912 #313812
monochromatic
#070C17 #070C17 #121E38 #213766 #305095

Accessibility & contrast

On white

16.55
#121E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E38
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E38#FFFFFF#000000##FFFFFF
##121E381.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132139
Deuteranopia (green-blind)
#0E1D37
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121e38;
/* rgb */ color: rgb(18, 30, 56);
/* oklch */ color: oklch(23.9% 0.053 264.1);
Tailwind
colors: {
  custom: {
    50: '#54596f',
    500: '#121e38',
    950: '#000000',
  },
}
SCSS
$custom: #121e38;
$custom-light: #54596f;
$custom-dark: #000000;
JSON
{
  "hex": "#121e38",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 221.053,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23917,
    "c": 0.05289,
    "h": 264.1
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#121E38
secondary
#715E35
accent
#AE4DDB
background
#F4F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121E38

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

Preview Lab → · Contrast checker → · Palette generator →

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