#121E4A#121E4A

#121E4A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.083 H 268.4°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#121E4A
RGBrgb(18, 30, 74)
HSLhsl(227, 61%, 18%)
HSVhsv(227, 76%, 29%)
CMYKcmyk(75.7%, 59.5%, 0%, 71%)
CIE-LABlab(12.93, 12.16, -28.98)
CIE-LCHlch(12.93, 31.42, 292.76°)
OKLaboklab(25.39% -0.0024 -0.0833)
OKLCHoklch(25.39% 0.083 268.4)
XYZxyz(1.9493, 1.5514, 6.6740)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E4A #4A3E12
analogous
#123A4A #121E4A #22124A
triadic
#121E4A #4A121E #1E4A12
tetradic
#121E4A #4A123A #4A3E12 #124A22
square
#121E4A #4A123A #4A3E12 #124A22
split-complementary
#121E4A #4A2212 #3A4A12
monochromatic
#060A19 #060A19 #121E4A #1E327B #2A46AC

Accessibility & contrast

On white

16.03
#121E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E4A
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E4A#FFFFFF#000000##FFFFFF
##121E4A1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121e4a;
/* rgb */ color: rgb(18, 30, 74);
/* oklch */ color: oklch(25.4% 0.083 268.4);
Tailwind
colors: {
  custom: {
    50: '#58597d',
    500: '#121e4a',
    950: '#000000',
  },
}
SCSS
$custom: #121e4a;
$custom-light: #58597d;
$custom-dark: #000000;
JSON
{
  "hex": "#121e4a",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 227.143,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25393,
    "c": 0.08334,
    "h": 268.4
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#121E4A
secondary
#837235
accent
#C244E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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