#121D36#121D36

#121D36 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.5% C 0.051 H 264.8°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#121D36
RGBrgb(18, 29, 54)
HSLhsl(222, 50%, 14%)
HSVhsv(222, 67%, 21%)
CMYKcmyk(66.7%, 46.3%, 0%, 78.8%)
CIE-LABlab(11.09, 4.45, -17.86)
CIE-LCHlch(11.09, 18.41, 284.00°)
OKLaboklab(23.5% -0.0046 -0.0507)
OKLCHoklch(23.5% 0.051 264.8)
XYZxyz(1.3544, 1.2736, 3.6638)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D36 #362B12
analogous
#122F36 #121D36 #191236
triadic
#121D36 #36121D #1D3612
tetradic
#121D36 #36122F #362B12 #123619
square
#121D36 #36122F #362B12 #123619
split-complementary
#121D36 #361912 #2F3612
monochromatic
#080C17 #080C17 #121D36 #213664 #314E92

Accessibility & contrast

On white

16.74
#121D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D36
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D36#FFFFFF#000000##FFFFFF
##121D361.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F37
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#002326
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121d36;
/* rgb */ color: rgb(18, 29, 54);
/* oklch */ color: oklch(23.5% 0.051 264.8);
Tailwind
colors: {
  custom: {
    50: '#53586d',
    500: '#121d36',
    950: '#000000',
  },
}
SCSS
$custom: #121d36;
$custom-light: #53586d;
$custom-dark: #000000;
JSON
{
  "hex": "#121d36",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 54
  },
  "hsl": {
    "h": 221.667,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23502,
    "c": 0.05088,
    "h": 264.8
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#121D36
secondary
#6F5D35
accent
#AF4EDA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #121D36

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

Preview Lab → · Contrast checker → · Palette generator →

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