#121E49#121E49

#121E49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.082 H 268.3°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#121E49
RGBrgb(18, 30, 73)
HSLhsl(227, 60%, 18%)
HSVhsv(227, 75%, 29%)
CMYKcmyk(75.3%, 58.9%, 0%, 71.4%)
CIE-LABlab(12.85, 11.73, -28.42)
CIE-LCHlch(12.85, 30.75, 292.43°)
OKLaboklab(25.3% -0.0024 -0.0817)
OKLCHoklch(25.3% 0.082 268.3)
XYZxyz(1.9159, 1.5380, 6.4979)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E49 #493D12
analogous
#123949 #121E49 #211249
triadic
#121E49 #49121E #1E4912
tetradic
#121E49 #491239 #493D12 #124921
square
#121E49 #491239 #493D12 #124921
split-complementary
#121E49 #492112 #394912
monochromatic
#060A19 #060A19 #121E49 #1E327A #2A46AB

Accessibility & contrast

On white

16.06
#121E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E49
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E49#FFFFFF#000000##FFFFFF
##121E491.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121e49;
/* rgb */ color: rgb(18, 30, 73);
/* oklch */ color: oklch(25.3% 0.082 268.3);
Tailwind
colors: {
  custom: {
    50: '#58597c',
    500: '#121e49',
    950: '#000000',
  },
}
SCSS
$custom: #121e49;
$custom-light: #58597c;
$custom-dark: #000000;
JSON
{
  "hex": "#121e49",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 226.909,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25303,
    "c": 0.08171,
    "h": 268.3
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#121E49
secondary
#827135
accent
#C144E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121E49

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

Preview Lab → · Contrast checker → · Palette generator →

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