#121B4A#121B4A

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

Color values

HEX#121B4A
RGBrgb(18, 27, 74)
HSLhsl(230, 61%, 18%)
HSVhsv(230, 76%, 29%)
CMYKcmyk(75.7%, 63.5%, 0%, 71%)
CIE-LABlab(12.00, 14.45, -30.48)
CIE-LCHlch(12.00, 33.73, 295.36°)
OKLaboklab(24.7% 0.0007 -0.0878)
OKLCHoklch(24.7% 0.088 270.4)
XYZxyz(1.8770, 1.4067, 6.6498)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B4A #4A4112
analogous
#12374A #121B4A #25124A
triadic
#121B4A #4A121B #1B4A12
tetradic
#121B4A #4A1237 #4A4112 #124A25
square
#121B4A #4A1237 #4A4112 #124A25
split-complementary
#121B4A #4A2512 #374A12
monochromatic
#060919 #060919 #121B4A #1E2D7B #2A3FAC

Accessibility & contrast

On white

16.39
#121B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B4A
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B4A#FFFFFF#000000##FFFFFF
##121B4A1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121b4a;
/* rgb */ color: rgb(18, 27, 74);
/* oklch */ color: oklch(24.7% 0.088 270.4);
Tailwind
colors: {
  custom: {
    50: '#58577d',
    500: '#121b4a',
    950: '#000000',
  },
}
SCSS
$custom: #121b4a;
$custom-light: #58577d;
$custom-dark: #000000;
JSON
{
  "hex": "#121b4a",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 230.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24695,
    "c": 0.08779,
    "h": 270.4
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#121B4A
secondary
#837635
accent
#CA44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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