#121D35#121D35

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

Color values

HEX#121D35
RGBrgb(18, 29, 53)
HSLhsl(221, 49%, 14%)
HSVhsv(221, 66%, 21%)
CMYKcmyk(66%, 45.3%, 0%, 79.2%)
CIE-LABlab(11.02, 4.04, -17.25)
CIE-LCHlch(11.02, 17.72, 283.19°)
OKLaboklab(23.43% -0.0048 -0.0489)
OKLCHoklch(23.43% 0.049 264.3)
XYZxyz(1.3312, 1.2643, 3.5413)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D35 #352A12
analogous
#122F35 #121D35 #191235
triadic
#121D35 #35121D #1D3512
tetradic
#121D35 #35122F #352A12 #123519
square
#121D35 #35122F #352A12 #123519
split-complementary
#121D35 #351912 #2F3512
monochromatic
#080C17 #080C17 #121D35 #223663 #314F90

Accessibility & contrast

On white

16.76
#121D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D35
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D35#FFFFFF#000000##FFFFFF
##121D351.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F36
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#012226
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121d35;
/* rgb */ color: rgb(18, 29, 53);
/* oklch */ color: oklch(23.4% 0.049 264.3);
Tailwind
colors: {
  custom: {
    50: '#53586c',
    500: '#121d35',
    950: '#000000',
  },
}
SCSS
$custom: #121d35;
$custom-light: #53586c;
$custom-dark: #000000;
JSON
{
  "hex": "#121d35",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 53
  },
  "hsl": {
    "h": 221.143,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23429,
    "c": 0.04912,
    "h": 264.3
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#121D35
secondary
#6D5C35
accent
#AE4FD9
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #121D35

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

Preview Lab → · Contrast checker → · Palette generator →

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