#121C31#121C31

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

Color values

HEX#121C31
RGBrgb(18, 28, 49)
HSLhsl(221, 46%, 13%)
HSVhsv(221, 63%, 19%)
CMYKcmyk(63.3%, 42.9%, 0%, 80.8%)
CIE-LABlab(10.41, 3.18, -15.32)
CIE-LCHlch(10.41, 15.65, 281.71°)
OKLaboklab(22.87% -0.0046 -0.0433)
OKLCHoklch(22.87% 0.044 264)
XYZxyz(1.2189, 1.1808, 3.0688)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C31 #312712
analogous
#122B31 #121C31 #171231
triadic
#121C31 #31121C #1C3112
tetradic
#121C31 #31122B #312712 #123117
square
#121C31 #31122B #312712 #123117
split-complementary
#121C31 #311712 #2B3112
monochromatic
#080D16 #080D16 #121C31 #22365E #334F8B

Accessibility & contrast

On white

16.99
#121C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C31
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C31#FFFFFF#000000##FFFFFF
##121C311.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141E32
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#042124
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121c31;
/* rgb */ color: rgb(18, 28, 49);
/* oklch */ color: oklch(22.9% 0.043 264.0);
Tailwind
colors: {
  custom: {
    50: '#525769',
    500: '#121c31',
    950: '#000000',
  },
}
SCSS
$custom: #121c31;
$custom-light: #525769;
$custom-dark: #000000;
JSON
{
  "hex": "#121c31",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 49
  },
  "hsl": {
    "h": 220.645,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22874,
    "c": 0.0435,
    "h": 264
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#121C31
secondary
#695936
accent
#AB52D6
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121C31

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

Preview Lab → · Contrast checker → · Palette generator →

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