#121D4D#121D4D

#121D4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.090 H 269.3°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#121D4D
RGBrgb(18, 29, 77)
HSLhsl(229, 62%, 19%)
HSVhsv(229, 77%, 30%)
CMYKcmyk(76.6%, 62.3%, 0%, 69.8%)
CIE-LABlab(12.88, 14.20, -31.13)
CIE-LCHlch(12.88, 34.21, 294.53°)
OKLaboklab(25.44% -0.0012 -0.0896)
OKLCHoklch(25.44% 0.09 269.3)
XYZxyz(2.0279, 1.5429, 7.2107)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D4D #4D4212
analogous
#123A4D #121D4D #24124D
triadic
#121D4D #4D121D #1D4D12
tetradic
#121D4D #4D123A #4D4212 #124D24
square
#121D4D #4D123A #4D4212 #124D24
split-complementary
#121D4D #4D2412 #3A4D12
monochromatic
#060919 #060A1B #121D4D #1E307F #2942B0

Accessibility & contrast

On white

16.05
#121D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D4D
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D4D#FFFFFF#000000##FFFFFF
##121D4D1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121d4d;
/* rgb */ color: rgb(18, 29, 77);
/* oklch */ color: oklch(25.4% 0.090 269.3);
Tailwind
colors: {
  custom: {
    50: '#59587f',
    500: '#121d4d',
    950: '#000000',
  },
}
SCSS
$custom: #121d4d;
$custom-light: #59587f;
$custom-dark: #000000;
JSON
{
  "hex": "#121d4d",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 228.814,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25435,
    "c": 0.08966,
    "h": 269.3
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#121D4D
secondary
#867735
accent
#C743E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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