#121A35#121A35

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

Color values

HEX#121A35
RGBrgb(18, 26, 53)
HSLhsl(226, 49%, 14%)
HSVhsv(226, 66%, 21%)
CMYKcmyk(66%, 50.9%, 0%, 79.2%)
CIE-LABlab(9.99, 6.36, -18.90)
CIE-LCHlch(9.99, 19.94, 288.61°)
OKLaboklab(22.63% -0.0006 -0.0537)
OKLCHoklch(22.63% 0.054 269.3)
XYZxyz(1.2612, 1.1243, 3.5180)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A35 #352D12
analogous
#122C35 #121A35 #1C1235
triadic
#121A35 #35121A #1A3512
tetradic
#121A35 #35122C #352D12 #12351C
square
#121A35 #35122C #352D12 #12351C
split-complementary
#121A35 #351C12 #2C3512
monochromatic
#080B17 #080B17 #121A35 #223063 #314790

Accessibility & contrast

On white

17.15
#121A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A35
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A35#FFFFFF#000000##FFFFFF
##121A351.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1D36
Deuteranopia (green-blind)
#0A1A34
Tritanopia (blue-blind)
#012024
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121a35;
/* rgb */ color: rgb(18, 26, 53);
/* oklch */ color: oklch(22.6% 0.054 269.3);
Tailwind
colors: {
  custom: {
    50: '#53566c',
    500: '#121a35',
    950: '#000000',
  },
}
SCSS
$custom: #121a35;
$custom-light: #53566c;
$custom-dark: #000000;
JSON
{
  "hex": "#121a35",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 53
  },
  "hsl": {
    "h": 226.286,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22631,
    "c": 0.05373,
    "h": 269.3
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#121A35
secondary
#6D6135
accent
#B94FD9
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#030307
muted
#78787A

Preview Lab

Preview with #121A35

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

Preview Lab → · Contrast checker → · Palette generator →

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