#121E3E#121E3E

#121E3E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.063 H 266.3°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#121E3E
RGBrgb(18, 30, 62)
HSLhsl(224, 55%, 16%)
HSVhsv(224, 71%, 24%)
CMYKcmyk(71%, 51.6%, 0%, 75.7%)
CIE-LABlab(11.99, 7.04, -22.12)
CIE-LCHlch(11.99, 23.21, 287.66°)
OKLaboklab(24.38% -0.004 -0.0631)
OKLCHoklch(24.38% 0.063 266.3)
XYZxyz(1.5829, 1.4048, 4.7442)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E3E #3E3212
analogous
#12343E #121E3E #1C123E
triadic
#121E3E #3E121E #1E3E12
tetradic
#121E3E #3E1234 #3E3212 #123E1C
square
#121E3E #3E1234 #3E3212 #123E1C
split-complementary
#121E3E #3E1C12 #343E12
monochromatic
#070B18 #070B18 #121E3E #20356D #2E4C9D

Accessibility & contrast

On white

16.39
#121E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E3E
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E3E#FFFFFF#000000##FFFFFF
##121E3E1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F223F
Deuteranopia (green-blind)
#081E3D
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121e3e;
/* rgb */ color: rgb(18, 30, 62);
/* oklch */ color: oklch(24.4% 0.063 266.3);
Tailwind
colors: {
  custom: {
    50: '#555973',
    500: '#121e3e',
    950: '#000000',
  },
}
SCSS
$custom: #121e3e;
$custom-light: #555973;
$custom-dark: #000000;
JSON
{
  "hex": "#121e3e",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 62
  },
  "hsl": {
    "h": 223.636,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24376,
    "c": 0.06327,
    "h": 266.3
  },
  "luminance": 0.01405
}

Semantic roles & 50–950 ramp

primary
#121E3E
secondary
#776535
accent
#B649DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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