#121A4D#121A4D

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

Color values

HEX#121A4D
RGBrgb(18, 26, 77)
HSLhsl(232, 62%, 19%)
HSVhsv(232, 77%, 30%)
CMYKcmyk(76.6%, 66.2%, 0%, 69.8%)
CIE-LABlab(11.98, 16.47, -32.59)
CIE-LCHlch(11.98, 36.52, 296.81°)
OKLaboklab(24.76% 0.0016 -0.094)
OKLCHoklch(24.76% 0.094 271)
XYZxyz(1.9579, 1.4030, 7.1874)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A4D #4D4512
analogous
#12374D #121A4D #27124D
triadic
#121A4D #4D121A #1A4D12
tetradic
#121A4D #4D1237 #4D4512 #124D27
square
#121A4D #4D1237 #4D4512 #124D27
split-complementary
#121A4D #4D2712 #374D12
monochromatic
#060819 #06091B #121A4D #1E2B7F #293BB0

Accessibility & contrast

On white

16.40
#121A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A4D
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A4D#FFFFFF#000000##FFFFFF
##121A4D1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121a4d;
/* rgb */ color: rgb(18, 26, 77);
/* oklch */ color: oklch(24.8% 0.094 271.0);
Tailwind
colors: {
  custom: {
    50: '#59567f',
    500: '#121a4d',
    950: '#000000',
  },
}
SCSS
$custom: #121a4d;
$custom-light: #59567f;
$custom-dark: #000000;
JSON
{
  "hex": "#121a4d",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 231.864,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24763,
    "c": 0.09401,
    "h": 271
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#121A4D
secondary
#867B35
accent
#CF43E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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