#121E3D#121E3D

#121E3D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.062 H 266.0°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#121E3D
RGBrgb(18, 30, 61)
HSLhsl(223, 54%, 15%)
HSVhsv(223, 70%, 24%)
CMYKcmyk(70.5%, 50.8%, 0%, 76.1%)
CIE-LABlab(11.92, 6.62, -21.53)
CIE-LCHlch(11.92, 22.52, 287.09°)
OKLaboklab(24.3% -0.0042 -0.0614)
OKLCHoklch(24.3% 0.062 266)
XYZxyz(1.5557, 1.3939, 4.6010)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E3D #3D3112
analogous
#12333D #121E3D #1B123D
triadic
#121E3D #3D121E #1E3D12
tetradic
#121E3D #3D1233 #3D3112 #123D1B
square
#121E3D #3D1233 #3D3112 #123D1B
split-complementary
#121E3D #3D1B12 #333D12
monochromatic
#070C18 #070C18 #121E3D #20356C #2E4C9C

Accessibility & contrast

On white

16.42
#121E3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121E3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E3D
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E3D#FFFFFF#000000##FFFFFF
##121E3D1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10213E
Deuteranopia (green-blind)
#091E3C
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121e3d;
/* rgb */ color: rgb(18, 30, 61);
/* oklch */ color: oklch(24.3% 0.062 266.0);
Tailwind
colors: {
  custom: {
    50: '#555973',
    500: '#121e3d',
    950: '#000000',
  },
}
SCSS
$custom: #121e3d;
$custom-light: #555973;
$custom-dark: #000000;
JSON
{
  "hex": "#121e3d",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 61
  },
  "hsl": {
    "h": 223.256,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24297,
    "c": 0.06156,
    "h": 266
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#121E3D
secondary
#766435
accent
#B54ADE
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #121E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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