#121D49#121D49

#121D49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.083 H 269.0°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#121D49
RGBrgb(18, 29, 73)
HSLhsl(228, 60%, 18%)
HSVhsv(228, 75%, 29%)
CMYKcmyk(75.3%, 60.3%, 0%, 71.4%)
CIE-LABlab(12.53, 12.50, -28.93)
CIE-LCHlch(12.53, 31.51, 293.36°)
OKLaboklab(25.07% -0.0014 -0.0832)
OKLCHoklch(25.07% 0.083 269)
XYZxyz(1.8910, 1.4882, 6.4896)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D49 #493E12
analogous
#123849 #121D49 #221249
triadic
#121D49 #49121D #1D4912
tetradic
#121D49 #491238 #493E12 #124922
square
#121D49 #491238 #493E12 #124922
split-complementary
#121D49 #492212 #384912
monochromatic
#060A19 #060A19 #121D49 #1E317A #2A44AB

Accessibility & contrast

On white

16.18
#121D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D49
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D49#FFFFFF#000000##FFFFFF
##121D491.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121d49;
/* rgb */ color: rgb(18, 29, 73);
/* oklch */ color: oklch(25.1% 0.083 269.0);
Tailwind
colors: {
  custom: {
    50: '#58587c',
    500: '#121d49',
    950: '#000000',
  },
}
SCSS
$custom: #121d49;
$custom-light: #58587c;
$custom-dark: #000000;
JSON
{
  "hex": "#121d49",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 228,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25066,
    "c": 0.0832,
    "h": 269
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#121D49
secondary
#827335
accent
#C444E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121D49

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

Preview Lab → · Contrast checker → · Palette generator →

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