#121F35#121F35

#121F35 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.0% C 0.046 H 260.4°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#121F35
RGBrgb(18, 31, 53)
HSLhsl(218, 49%, 14%)
HSVhsv(218, 66%, 21%)
CMYKcmyk(66%, 41.5%, 0%, 79.2%)
CIE-LABlab(11.73, 2.52, -16.14)
CIE-LCHlch(11.73, 16.33, 278.88°)
OKLaboklab(23.97% -0.0077 -0.0456)
OKLCHoklch(23.97% 0.046 260.4)
XYZxyz(1.3818, 1.3655, 3.5582)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F35 #352812
analogous
#123135 #121F35 #171235
triadic
#121F35 #35121F #1F3512
tetradic
#121F35 #351231 #352812 #123517
square
#121F35 #351231 #352812 #123517
split-complementary
#121F35 #351712 #313512
monochromatic
#080D17 #080D17 #121F35 #223A63 #315490

Accessibility & contrast

On white

16.49
#121F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121F35
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F35#FFFFFF#000000##FFFFFF
##121F351.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162136
Deuteranopia (green-blind)
#121D35
Tritanopia (blue-blind)
#012427
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121f35;
/* rgb */ color: rgb(18, 31, 53);
/* oklch */ color: oklch(24.0% 0.046 260.4);
Tailwind
colors: {
  custom: {
    50: '#535a6c',
    500: '#121f35',
    950: '#000000',
  },
}
SCSS
$custom: #121f35;
$custom-light: #535a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#121f35",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 217.714,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23974,
    "c": 0.04626,
    "h": 260.4
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#121F35
secondary
#6D5935
accent
#A64FD9
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #121F35

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

Preview Lab → · Contrast checker → · Palette generator →

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