#121D4C#121D4C

#121D4C is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.088 H 269.2°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#121D4C
RGBrgb(18, 29, 76)
HSLhsl(229, 62%, 18%)
HSVhsv(229, 76%, 30%)
CMYKcmyk(76.3%, 61.8%, 0%, 70.2%)
CIE-LABlab(12.79, 13.78, -30.58)
CIE-LCHlch(12.79, 33.54, 294.25°)
OKLaboklab(25.34% -0.0012 -0.088)
OKLCHoklch(25.34% 0.088 269.2)
XYZxyz(1.9929, 1.5289, 7.0262)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D4C #4C4112
analogous
#123A4C #121D4C #24124C
triadic
#121D4C #4C121D #1D4C12
tetradic
#121D4C #4C123A #4C4112 #124C24
square
#121D4C #4C123A #4C4112 #124C24
split-complementary
#121D4C #4C2412 #3A4C12
monochromatic
#060919 #060A1B #121D4C #1E307D #2943AF

Accessibility & contrast

On white

16.08
#121D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D4C
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D4C#FFFFFF#000000##FFFFFF
##121D4C1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#001F4B
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121d4c;
/* rgb */ color: rgb(18, 29, 76);
/* oklch */ color: oklch(25.3% 0.088 269.2);
Tailwind
colors: {
  custom: {
    50: '#59587e',
    500: '#121d4c',
    950: '#000000',
  },
}
SCSS
$custom: #121d4c;
$custom-light: #59587e;
$custom-dark: #000000;
JSON
{
  "hex": "#121d4c",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 228.621,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25341,
    "c": 0.08806,
    "h": 269.2
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#121D4C
secondary
#857635
accent
#C643E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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