#121A4C#121A4C

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

Color values

HEX#121A4C
RGBrgb(18, 26, 76)
HSLhsl(232, 62%, 18%)
HSVhsv(232, 76%, 30%)
CMYKcmyk(76.3%, 65.8%, 0%, 70.2%)
CIE-LABlab(11.88, 16.05, -32.05)
CIE-LCHlch(11.88, 35.85, 296.60°)
OKLaboklab(24.67% 0.0016 -0.0924)
OKLCHoklch(24.67% 0.092 271)
XYZxyz(1.9229, 1.3890, 7.0028)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A4C #4C4412
analogous
#12374C #121A4C #27124C
triadic
#121A4C #4C121A #1A4C12
tetradic
#121A4C #4C1237 #4C4412 #124C27
square
#121A4C #4C1237 #4C4412 #124C27
split-complementary
#121A4C #4C2712 #374C12
monochromatic
#060819 #06091B #121A4C #1E2B7D #293CAF

Accessibility & contrast

On white

16.43
#121A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A4C
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A4C#FFFFFF#000000##FFFFFF
##121A4C1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121a4c;
/* rgb */ color: rgb(18, 26, 76);
/* oklch */ color: oklch(24.7% 0.092 271.0);
Tailwind
colors: {
  custom: {
    50: '#59567f',
    500: '#121a4c',
    950: '#000000',
  },
}
SCSS
$custom: #121a4c;
$custom-light: #59567f;
$custom-dark: #000000;
JSON
{
  "hex": "#121a4c",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 231.724,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24665,
    "c": 0.09243,
    "h": 271
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#121A4C
secondary
#857A35
accent
#CE43E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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