#121A4A#121A4A

#121A4A is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.089 H 271.0°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#121A4A
RGBrgb(18, 26, 74)
HSLhsl(231, 61%, 18%)
HSVhsv(231, 76%, 29%)
CMYKcmyk(75.7%, 64.9%, 0%, 71%)
CIE-LABlab(11.70, 15.21, -30.97)
CIE-LCHlch(11.70, 34.51, 296.16°)
OKLaboklab(24.47% 0.0016 -0.0892)
OKLCHoklch(24.47% 0.089 271)
XYZxyz(1.8545, 1.3616, 6.6423)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A4A #4A4212
analogous
#12364A #121A4A #26124A
triadic
#121A4A #4A121A #1A4A12
tetradic
#121A4A #4A1236 #4A4212 #124A26
square
#121A4A #4A1236 #4A4212 #124A26
split-complementary
#121A4A #4A2612 #364A12
monochromatic
#060919 #060919 #121A4A #1E2B7B #2A3DAC

Accessibility & contrast

On white

16.50
#121A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A4A
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A4A#FFFFFF#000000##FFFFFF
##121A4A1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121a4a;
/* rgb */ color: rgb(18, 26, 74);
/* oklch */ color: oklch(24.5% 0.089 271.0);
Tailwind
colors: {
  custom: {
    50: '#58567d',
    500: '#121a4a',
    950: '#000000',
  },
}
SCSS
$custom: #121a4a;
$custom-light: #58567d;
$custom-dark: #000000;
JSON
{
  "hex": "#121a4a",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 231.429,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2447,
    "c": 0.08926,
    "h": 271
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#121A4A
secondary
#837835
accent
#CD44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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