#121A34#121A34

#121A34 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.6% C 0.052 H 269.1°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#121A34
RGBrgb(18, 26, 52)
HSLhsl(226, 49%, 14%)
HSVhsv(226, 65%, 20%)
CMYKcmyk(65.4%, 50%, 0%, 79.6%)
CIE-LABlab(9.92, 5.95, -18.28)
CIE-LCHlch(9.92, 19.23, 288.02°)
OKLaboklab(22.55% -0.0008 -0.0519)
OKLCHoklch(22.55% 0.052 269.1)
XYZxyz(1.2385, 1.1152, 3.3981)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A34 #342C12
analogous
#122B34 #121A34 #1B1234
triadic
#121A34 #34121A #1A3412
tetradic
#121A34 #34122B #342C12 #12341B
square
#121A34 #34122B #342C12 #12341B
split-complementary
#121A34 #341B12 #2B3412
monochromatic
#080B17 #080B17 #121A34 #223161 #31478F

Accessibility & contrast

On white

17.17
#121A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A34
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A34#FFFFFF#000000##FFFFFF
##121A341.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D35
Deuteranopia (green-blind)
#0B1A33
Tritanopia (blue-blind)
#022024
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121a34;
/* rgb */ color: rgb(18, 26, 52);
/* oklch */ color: oklch(22.6% 0.052 269.1);
Tailwind
colors: {
  custom: {
    50: '#53566b',
    500: '#121a34',
    950: '#000000',
  },
}
SCSS
$custom: #121a34;
$custom-light: #53566b;
$custom-dark: #000000;
JSON
{
  "hex": "#121a34",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 225.882,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22554,
    "c": 0.05195,
    "h": 269.1
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#121A34
secondary
#6C5F35
accent
#B850D8
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121A34

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

Preview Lab → · Contrast checker → · Palette generator →

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