#121A49#121A49

#121A49 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.088 H 271.1°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#121A49
RGBrgb(18, 26, 73)
HSLhsl(231, 60%, 18%)
HSVhsv(231, 75%, 29%)
CMYKcmyk(75.3%, 64.4%, 0%, 71.4%)
CIE-LABlab(11.61, 14.79, -30.43)
CIE-LCHlch(11.61, 33.83, 295.92°)
OKLaboklab(24.37% 0.0016 -0.0876)
OKLCHoklch(24.37% 0.088 271.1)
XYZxyz(1.8210, 1.3483, 6.4663)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A49 #494112
analogous
#123549 #121A49 #251249
triadic
#121A49 #49121A #1A4912
tetradic
#121A49 #491235 #494112 #124925
square
#121A49 #491235 #494112 #124925
split-complementary
#121A49 #492512 #354912
monochromatic
#060919 #060919 #121A49 #1E2B7A #2A3DAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##121A49#FFFFFF#000000##FFFFFF
##121A491.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)
#00214B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121a49;
/* rgb */ color: rgb(18, 26, 73);
/* oklch */ color: oklch(24.4% 0.088 271.1);
Tailwind
colors: {
  custom: {
    50: '#58567c',
    500: '#121a49',
    950: '#000000',
  },
}
SCSS
$custom: #121a49;
$custom-light: #58567c;
$custom-dark: #000000;
JSON
{
  "hex": "#121a49",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 231.273,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24374,
    "c": 0.08765,
    "h": 271.1
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#121A49
secondary
#827735
accent
#CC44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121A49

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

Preview Lab → · Contrast checker → · Palette generator →

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