#121950#121950

#121950 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.100 H 271.4°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#121950
RGBrgb(18, 25, 80)
HSLhsl(233, 63%, 19%)
HSVhsv(233, 78%, 31%)
CMYKcmyk(77.5%, 68.8%, 0%, 68.6%)
CIE-LABlab(11.98, 18.47, -34.65)
CIE-LCHlch(11.98, 39.27, 298.06°)
OKLaboklab(24.85% 0.0024 -0.1001)
OKLCHoklch(24.85% 0.1 271.4)
XYZxyz(2.0446, 1.4028, 7.7509)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121950 #504912
analogous
#123850 #121950 #2A1250
triadic
#121950 #501219 #195012
tetradic
#121950 #501238 #504912 #12502A
square
#121950 #501238 #504912 #12502A
split-complementary
#121950 #502A12 #385012
monochromatic
#060819 #07091E #121950 #1D2982 #2838B4

Accessibility & contrast

On white

16.40
#121950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121950
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121950#FFFFFF#000000##FFFFFF
##1219501.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121950;
/* rgb */ color: rgb(18, 25, 80);
/* oklch */ color: oklch(24.9% 0.100 271.4);
Tailwind
colors: {
  custom: {
    50: '#5a5582',
    500: '#121950',
    950: '#000000',
  },
}
SCSS
$custom: #121950;
$custom-light: #5a5582;
$custom-dark: #000000;
JSON
{
  "hex": "#121950",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 233.226,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24852,
    "c": 0.10009,
    "h": 271.4
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#121950
secondary
#897F35
accent
#D441E6
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #121950

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

Preview Lab → · Contrast checker → · Palette generator →

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