#121E30#121E30

#121E30 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.4% C 0.039 H 258.3°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#121E30
RGBrgb(18, 30, 48)
HSLhsl(216, 45%, 13%)
HSVhsv(216, 63%, 19%)
CMYKcmyk(62.5%, 37.5%, 0%, 81.2%)
CIE-LABlab(11.07, 1.26, -13.57)
CIE-LCHlch(11.07, 13.63, 275.29°)
OKLaboklab(23.36% -0.0079 -0.0382)
OKLCHoklch(23.36% 0.039 258.3)
XYZxyz(1.2470, 1.2705, 2.9752)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E30 #302412
analogous
#122D30 #121E30 #151230
triadic
#121E30 #30121E #1E3012
tetradic
#121E30 #30122D #302412 #123015
square
#121E30 #30122D #302412 #123015
split-complementary
#121E30 #301512 #2D3012
monochromatic
#080E16 #080E16 #121E30 #233A5D #335689

Accessibility & contrast

On white

16.74
#121E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E30
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E30#FFFFFF#000000##FFFFFF
##121E301.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F31
Deuteranopia (green-blind)
#131C30
Tritanopia (blue-blind)
#042224
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121e30;
/* rgb */ color: rgb(18, 30, 48);
/* oklch */ color: oklch(23.4% 0.039 258.3);
Tailwind
colors: {
  custom: {
    50: '#525968',
    500: '#121e30',
    950: '#000000',
  },
}
SCSS
$custom: #121e30;
$custom-light: #525968;
$custom-dark: #000000;
JSON
{
  "hex": "#121e30",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 216,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23362,
    "c": 0.03897,
    "h": 258.3
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#121E30
secondary
#685436
accent
#A153D5
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121E30

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

Preview Lab → · Contrast checker → · Palette generator →

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