#121C4A#121C4A

#121C4A is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.086 H 269.8°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#121C4A
RGBrgb(18, 28, 74)
HSLhsl(229, 61%, 18%)
HSVhsv(229, 76%, 29%)
CMYKcmyk(75.7%, 62.2%, 0%, 71%)
CIE-LABlab(12.31, 13.69, -29.99)
CIE-LCHlch(12.31, 32.96, 294.54°)
OKLaboklab(24.92% -0.0003 -0.0863)
OKLCHoklch(24.92% 0.086 269.8)
XYZxyz(1.9003, 1.4533, 6.6576)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C4A #4A4012
analogous
#12384A #121C4A #24124A
triadic
#121C4A #4A121C #1C4A12
tetradic
#121C4A #4A1238 #4A4012 #124A24
square
#121C4A #4A1238 #4A4012 #124A24
split-complementary
#121C4A #4A2412 #384A12
monochromatic
#060919 #060919 #121C4A #1E2F7B #2A41AC

Accessibility & contrast

On white

16.27
#121C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C4A
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C4A#FFFFFF#000000##FFFFFF
##121C4A1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121c4a;
/* rgb */ color: rgb(18, 28, 74);
/* oklch */ color: oklch(24.9% 0.086 269.8);
Tailwind
colors: {
  custom: {
    50: '#58577d',
    500: '#121c4a',
    950: '#000000',
  },
}
SCSS
$custom: #121c4a;
$custom-light: #58577d;
$custom-dark: #000000;
JSON
{
  "hex": "#121c4a",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 229.286,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24924,
    "c": 0.08631,
    "h": 269.8
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#121C4A
secondary
#837535
accent
#C744E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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