#121E35#121E35

#121E35 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.7% C 0.048 H 262.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#121E35
RGBrgb(18, 30, 53)
HSLhsl(219, 49%, 14%)
HSVhsv(219, 66%, 21%)
CMYKcmyk(66%, 43.4%, 0%, 79.2%)
CIE-LABlab(11.37, 3.28, -16.69)
CIE-LCHlch(11.37, 17.01, 281.12°)
OKLaboklab(23.7% -0.0063 -0.0472)
OKLCHoklch(23.7% 0.048 262.4)
XYZxyz(1.3561, 1.3141, 3.5496)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E35 #352912
analogous
#123035 #121E35 #181235
triadic
#121E35 #35121E #1E3512
tetradic
#121E35 #351230 #352912 #123518
square
#121E35 #351230 #352912 #123518
split-complementary
#121E35 #351812 #303512
monochromatic
#080D17 #080D17 #121E35 #223863 #315290

Accessibility & contrast

On white

16.63
#121E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E35
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E35#FFFFFF#000000##FFFFFF
##121E351.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121e35;
/* rgb */ color: rgb(18, 30, 53);
/* oklch */ color: oklch(23.7% 0.048 262.4);
Tailwind
colors: {
  custom: {
    50: '#53596c',
    500: '#121e35',
    950: '#000000',
  },
}
SCSS
$custom: #121e35;
$custom-light: #53596c;
$custom-dark: #000000;
JSON
{
  "hex": "#121e35",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 53
  },
  "hsl": {
    "h": 219.429,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23701,
    "c": 0.04766,
    "h": 262.4
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#121E35
secondary
#6D5A35
accent
#AA4FD9
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #121E35

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

Preview Lab → · Contrast checker → · Palette generator →

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