#121D34#121D34

#121D34 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.4% C 0.047 H 263.8°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#121D34
RGBrgb(18, 29, 52)
HSLhsl(221, 49%, 14%)
HSVhsv(221, 65%, 20%)
CMYKcmyk(65.4%, 44.2%, 0%, 79.6%)
CIE-LABlab(10.96, 3.63, -16.63)
CIE-LCHlch(10.96, 17.02, 282.31°)
OKLaboklab(23.36% -0.0051 -0.0471)
OKLCHoklch(23.36% 0.047 263.8)
XYZxyz(1.3084, 1.2552, 3.4215)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D34 #342912
analogous
#122E34 #121D34 #181234
triadic
#121D34 #34121D #1D3412
tetradic
#121D34 #34122E #342912 #123418
square
#121D34 #34122E #342912 #123418
split-complementary
#121D34 #341812 #2E3412
monochromatic
#080D17 #080D17 #121D34 #223661 #31508F

Accessibility & contrast

On white

16.79
#121D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D34
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D34#FFFFFF#000000##FFFFFF
##121D341.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141F35
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#022226
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121d34;
/* rgb */ color: rgb(18, 29, 52);
/* oklch */ color: oklch(23.4% 0.047 263.8);
Tailwind
colors: {
  custom: {
    50: '#53586b',
    500: '#121d34',
    950: '#000000',
  },
}
SCSS
$custom: #121d34;
$custom-light: #53586b;
$custom-dark: #000000;
JSON
{
  "hex": "#121d34",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 52
  },
  "hsl": {
    "h": 220.588,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23358,
    "c": 0.04735,
    "h": 263.8
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#121D34
secondary
#6C5B35
accent
#AC50D8
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121D34

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

Preview Lab → · Contrast checker → · Palette generator →

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