#121F32#121F32

#121F32 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.8% C 0.041 H 257.8°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#121F32
RGBrgb(18, 31, 50)
HSLhsl(216, 47%, 13%)
HSVhsv(216, 64%, 20%)
CMYKcmyk(64%, 38%, 0%, 80.4%)
CIE-LABlab(11.54, 1.31, -14.27)
CIE-LCHlch(11.54, 14.33, 275.24°)
OKLaboklab(23.77% -0.0087 -0.0402)
OKLCHoklch(23.77% 0.041 257.8)
XYZxyz(1.3150, 1.3388, 3.2061)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F32 #322512
analogous
#122F32 #121F32 #151232
triadic
#121F32 #32121F #1F3212
tetradic
#121F32 #32122F #322512 #123215
square
#121F32 #32122F #322512 #123215
split-complementary
#121F32 #321512 #2F3212
monochromatic
#080E17 #080E17 #121F32 #223B5F #32578C

Accessibility & contrast

On white

16.56
#121F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F32
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F32#FFFFFF#000000##FFFFFF
##121F321.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172033
Deuteranopia (green-blind)
#131D32
Tritanopia (blue-blind)
#032326
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121f32;
/* rgb */ color: rgb(18, 31, 50);
/* oklch */ color: oklch(23.8% 0.041 257.8);
Tailwind
colors: {
  custom: {
    50: '#525a6a',
    500: '#121f32',
    950: '#000000',
  },
}
SCSS
$custom: #121f32;
$custom-light: #525a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#121f32",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 215.625,
    "s": 47.059,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23773,
    "c": 0.04111,
    "h": 257.8
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#121F32
secondary
#6A5536
accent
#A051D7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121F32

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

Preview Lab → · Contrast checker → · Palette generator →

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