#121C32#121C32

#121C32 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.9% C 0.045 H 264.6°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#121C32
RGBrgb(18, 28, 50)
HSLhsl(221, 47%, 13%)
HSVhsv(221, 64%, 20%)
CMYKcmyk(64%, 44%, 0%, 80.4%)
CIE-LABlab(10.48, 3.58, -15.95)
CIE-LCHlch(10.48, 16.34, 282.66°)
OKLaboklab(22.94% -0.0043 -0.0451)
OKLCHoklch(22.94% 0.045 264.6)
XYZxyz(1.2402, 1.1893, 3.1812)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C32 #322812
analogous
#122C32 #121C32 #181232
triadic
#121C32 #32121C #1C3212
tetradic
#121C32 #32122C #322812 #123218
square
#121C32 #32122C #322812 #123218
split-complementary
#121C32 #321812 #2C3212
monochromatic
#080D17 #080D17 #121C32 #22355F #324E8C

Accessibility & contrast

On white

16.97
#121C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121C32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C32
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C32#FFFFFF#000000##FFFFFF
##121C321.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E33
Deuteranopia (green-blind)
#0F1B32
Tritanopia (blue-blind)
#032124
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121c32;
/* rgb */ color: rgb(18, 28, 50);
/* oklch */ color: oklch(22.9% 0.045 264.6);
Tailwind
colors: {
  custom: {
    50: '#53576a',
    500: '#121c32',
    950: '#000000',
  },
}
SCSS
$custom: #121c32;
$custom-light: #53576a;
$custom-dark: #000000;
JSON
{
  "hex": "#121c32",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 50
  },
  "hsl": {
    "h": 221.25,
    "s": 47.059,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22944,
    "c": 0.04528,
    "h": 264.6
  },
  "luminance": 0.01189
}

Semantic roles & 50–950 ramp

primary
#121C32
secondary
#6A5A36
accent
#AD51D7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121C32

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

Preview Lab → · Contrast checker → · Palette generator →

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