#121D4A#121D4A

#121D4A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.085 H 269.1°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#121D4A
RGBrgb(18, 29, 74)
HSLhsl(228, 61%, 18%)
HSVhsv(228, 76%, 29%)
CMYKcmyk(75.7%, 60.8%, 0%, 71%)
CIE-LABlab(12.62, 12.92, -29.48)
CIE-LCHlch(12.62, 32.19, 293.67°)
OKLaboklab(25.16% -0.0013 -0.0848)
OKLCHoklch(25.16% 0.085 269.1)
XYZxyz(1.9244, 1.5016, 6.6656)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D4A #4A3F12
analogous
#12394A #121D4A #23124A
triadic
#121D4A #4A121D #1D4A12
tetradic
#121D4A #4A1239 #4A3F12 #124A23
square
#121D4A #4A1239 #4A3F12 #124A23
split-complementary
#121D4A #4A2312 #394A12
monochromatic
#060A19 #060A19 #121D4A #1E307B #2A44AC

Accessibility & contrast

On white

16.15
#121D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D4A
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D4A#FFFFFF#000000##FFFFFF
##121D4A1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121d4a;
/* rgb */ color: rgb(18, 29, 74);
/* oklch */ color: oklch(25.2% 0.085 269.1);
Tailwind
colors: {
  custom: {
    50: '#58587d',
    500: '#121d4a',
    950: '#000000',
  },
}
SCSS
$custom: #121d4a;
$custom-light: #58587d;
$custom-dark: #000000;
JSON
{
  "hex": "#121d4a",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 228.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25157,
    "c": 0.08483,
    "h": 269.1
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#121D4A
secondary
#837435
accent
#C544E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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