#121F33#121F33

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

Color values

HEX#121F33
RGBrgb(18, 31, 51)
HSLhsl(216, 48%, 14%)
HSVhsv(216, 65%, 20%)
CMYKcmyk(64.7%, 39.2%, 0%, 80%)
CIE-LABlab(11.60, 1.71, -14.90)
CIE-LCHlch(11.60, 14.99, 276.55°)
OKLaboklab(23.84% -0.0084 -0.042)
OKLCHoklch(23.84% 0.043 258.7)
XYZxyz(1.3368, 1.3475, 3.3210)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F33 #332612
analogous
#122F33 #121F33 #151233
triadic
#121F33 #33121F #1F3312
tetradic
#121F33 #33122F #332612 #123315
square
#121F33 #33122F #332612 #123315
split-complementary
#121F33 #331512 #2F3312
monochromatic
#080E17 #080E17 #121F33 #223A60 #32568D

Accessibility & contrast

On white

16.54
#121F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121F33
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F33#FFFFFF#000000##FFFFFF
##121F331.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172034
Deuteranopia (green-blind)
#131D33
Tritanopia (blue-blind)
#022326
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121f33;
/* rgb */ color: rgb(18, 31, 51);
/* oklch */ color: oklch(23.8% 0.043 258.7);
Tailwind
colors: {
  custom: {
    50: '#535a6a',
    500: '#121f33',
    950: '#000000',
  },
}
SCSS
$custom: #121f33;
$custom-light: #535a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#121f33",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 216.364,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23839,
    "c": 0.04281,
    "h": 258.7
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#121F33
secondary
#6B5635
accent
#A250D7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121F33

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

Preview Lab → · Contrast checker → · Palette generator →

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