#121A47#121A47

#121A47 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.084 H 271.1°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#121A47
RGBrgb(18, 26, 71)
HSLhsl(231, 60%, 17%)
HSVhsv(231, 75%, 28%)
CMYKcmyk(74.6%, 63.4%, 0%, 72.2%)
CIE-LABlab(11.43, 13.94, -29.33)
CIE-LCHlch(11.43, 32.48, 295.43°)
OKLaboklab(24.18% 0.0016 -0.0844)
OKLCHoklch(24.18% 0.084 271.1)
XYZxyz(1.7558, 1.3222, 6.1227)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A47 #473F12
analogous
#123547 #121A47 #241247
triadic
#121A47 #47121A #1A4712
tetradic
#121A47 #471235 #473F12 #124724
square
#121A47 #471235 #473F12 #124724
split-complementary
#121A47 #472412 #354712
monochromatic
#060918 #060918 #121A47 #1E2C78 #2B3EA9

Accessibility & contrast

On white

16.61
#121A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A47
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A47#FFFFFF#000000##FFFFFF
##121A471.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121a47;
/* rgb */ color: rgb(18, 26, 71);
/* oklch */ color: oklch(24.2% 0.084 271.1);
Tailwind
colors: {
  custom: {
    50: '#58567b',
    500: '#121a47',
    950: '#000000',
  },
}
SCSS
$custom: #121a47;
$custom-light: #58567b;
$custom-dark: #000000;
JSON
{
  "hex": "#121a47",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 230.943,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24184,
    "c": 0.08443,
    "h": 271.1
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#121A47
secondary
#807535
accent
#CB45E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121A47

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

Preview Lab → · Contrast checker → · Palette generator →

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