#121E34#121E34

#121E34 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.6% C 0.046 H 261.8°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#121E34
RGBrgb(18, 30, 52)
HSLhsl(219, 49%, 14%)
HSVhsv(219, 65%, 20%)
CMYKcmyk(65.4%, 42.3%, 0%, 79.6%)
CIE-LABlab(11.31, 2.87, -16.08)
CIE-LCHlch(11.31, 16.33, 280.12°)
OKLaboklab(23.63% -0.0066 -0.0454)
OKLCHoklch(23.63% 0.046 261.8)
XYZxyz(1.3333, 1.3050, 3.4298)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E34 #342812
analogous
#122F34 #121E34 #171234
triadic
#121E34 #34121E #1E3412
tetradic
#121E34 #34122F #342812 #123417
square
#121E34 #34122F #342812 #123417
split-complementary
#121E34 #341712 #2F3412
monochromatic
#080D17 #080D17 #121E34 #223861 #31528F

Accessibility & contrast

On white

16.65
#121E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E34
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E34#FFFFFF#000000##FFFFFF
##121E341.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152035
Deuteranopia (green-blind)
#111D34
Tritanopia (blue-blind)
#022326
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121e34;
/* rgb */ color: rgb(18, 30, 52);
/* oklch */ color: oklch(23.6% 0.046 261.8);
Tailwind
colors: {
  custom: {
    50: '#53596b',
    500: '#121e34',
    950: '#000000',
  },
}
SCSS
$custom: #121e34;
$custom-light: #53596b;
$custom-dark: #000000;
JSON
{
  "hex": "#121e34",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 52
  },
  "hsl": {
    "h": 218.824,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23631,
    "c": 0.04591,
    "h": 261.8
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#121E34
secondary
#6C5935
accent
#A850D8
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121E34

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

Preview Lab → · Contrast checker → · Palette generator →

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