#121949#121949

#121949 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.089 H 271.7°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#121949
RGBrgb(18, 25, 73)
HSLhsl(232, 60%, 18%)
HSVhsv(232, 75%, 29%)
CMYKcmyk(75.3%, 65.8%, 0%, 71.4%)
CIE-LABlab(11.31, 15.55, -30.92)
CIE-LCHlch(11.31, 34.61, 296.70°)
OKLaboklab(24.15% 0.0026 -0.0891)
OKLCHoklch(24.15% 0.089 271.7)
XYZxyz(1.7993, 1.3047, 6.4591)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121949 #494212
analogous
#123449 #121949 #261249
triadic
#121949 #491219 #194912
tetradic
#121949 #491234 #494212 #124926
square
#121949 #491234 #494212 #124926
split-complementary
#121949 #492612 #344912
monochromatic
#060819 #060819 #121949 #1E2A7A #2A3BAB

Accessibility & contrast

On white

16.65
#121949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121949
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121949#FFFFFF#000000##FFFFFF
##1219491.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121949;
/* rgb */ color: rgb(18, 25, 73);
/* oklch */ color: oklch(24.1% 0.089 271.7);
Tailwind
colors: {
  custom: {
    50: '#58557c',
    500: '#121949',
    950: '#000000',
  },
}
SCSS
$custom: #121949;
$custom-light: #58557c;
$custom-dark: #000000;
JSON
{
  "hex": "#121949",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 232.364,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2415,
    "c": 0.08913,
    "h": 271.7
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#121949
secondary
#827835
accent
#CF44E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121949

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

Preview Lab → · Contrast checker → · Palette generator →

#121949 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva