#121A32#121A32

#121A32 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.4% C 0.048 H 268.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#121A32
RGBrgb(18, 26, 50)
HSLhsl(225, 47%, 13%)
HSVhsv(225, 64%, 20%)
CMYKcmyk(64%, 48%, 0%, 80.4%)
CIE-LABlab(9.78, 5.13, -17.05)
CIE-LCHlch(9.78, 17.81, 286.73°)
OKLaboklab(22.4% -0.0013 -0.0483)
OKLCHoklch(22.4% 0.048 268.4)
XYZxyz(1.1944, 1.0976, 3.1659)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A32 #322A12
analogous
#122A32 #121A32 #1A1232
triadic
#121A32 #32121A #1A3212
tetradic
#121A32 #32122A #322A12 #12321A
square
#121A32 #32122A #322A12 #12321A
split-complementary
#121A32 #321A12 #2A3212
monochromatic
#080C17 #080C17 #121A32 #22315F #32498C

Accessibility & contrast

On white

17.22
#121A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A32
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A32#FFFFFF#000000##FFFFFF
##121A321.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101D33
Deuteranopia (green-blind)
#0C1A31
Tritanopia (blue-blind)
#041F23
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121a32;
/* rgb */ color: rgb(18, 26, 50);
/* oklch */ color: oklch(22.4% 0.048 268.4);
Tailwind
colors: {
  custom: {
    50: '#53566a',
    500: '#121a32',
    950: '#000000',
  },
}
SCSS
$custom: #121a32;
$custom-light: #53566a;
$custom-dark: #000000;
JSON
{
  "hex": "#121a32",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 225,
    "s": 47.059,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22404,
    "c": 0.04836,
    "h": 268.4
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#121A32
secondary
#6A5D36
accent
#B551D7
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121A32

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

Preview Lab → · Contrast checker → · Palette generator →

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