#121E33#121E33

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

Color values

HEX#121E33
RGBrgb(18, 30, 51)
HSLhsl(218, 48%, 14%)
HSVhsv(218, 65%, 20%)
CMYKcmyk(64.7%, 41.2%, 0%, 80%)
CIE-LABlab(11.25, 2.46, -15.45)
CIE-LCHlch(11.25, 15.65, 279.06°)
OKLaboklab(23.56% -0.0069 -0.0436)
OKLCHoklch(23.56% 0.044 261)
XYZxyz(1.3111, 1.2961, 3.3124)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E33 #332712
analogous
#122E33 #121E33 #161233
triadic
#121E33 #33121E #1E3312
tetradic
#121E33 #33122E #332712 #123316
square
#121E33 #33122E #332712 #123316
split-complementary
#121E33 #331612 #2E3312
monochromatic
#080D17 #080D17 #121E33 #223960 #32538D

Accessibility & contrast

On white

16.68
#121E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E33
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E33#FFFFFF#000000##FFFFFF
##121E331.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162034
Deuteranopia (green-blind)
#121D33
Tritanopia (blue-blind)
#022326
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121e33;
/* rgb */ color: rgb(18, 30, 51);
/* oklch */ color: oklch(23.6% 0.044 261.0);
Tailwind
colors: {
  custom: {
    50: '#53596a',
    500: '#121e33',
    950: '#000000',
  },
}
SCSS
$custom: #121e33;
$custom-light: #53596a;
$custom-dark: #000000;
JSON
{
  "hex": "#121e33",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 51
  },
  "hsl": {
    "h": 218.182,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23562,
    "c": 0.04417,
    "h": 261
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#121E33
secondary
#6B5835
accent
#A650D7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121E33

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

Preview Lab → · Contrast checker → · Palette generator →

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