#121550#121550

#121550 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.106 H 273.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#121550
RGBrgb(18, 21, 80)
HSLhsl(237, 63%, 19%)
HSVhsv(237, 78%, 31%)
CMYKcmyk(77.5%, 73.7%, 0%, 68.6%)
CIE-LABlab(10.88, 21.38, -36.45)
CIE-LCHlch(10.88, 42.26, 300.39°)
OKLaboklab(24.05% 0.0056 -0.1054)
OKLCHoklch(24.05% 0.106 273)
XYZxyz(1.9651, 1.2439, 7.7244)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121550 #504D12
analogous
#123450 #121550 #2E1250
triadic
#121550 #501215 #155012
tetradic
#121550 #501234 #504D12 #12502E
square
#121550 #501234 #504D12 #12502E
split-complementary
#121550 #502E12 #345012
monochromatic
#060719 #07081E #121550 #1D2282 #282FB4

Accessibility & contrast

On white

16.82
#121550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121550
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121550#FFFFFF#000000##FFFFFF
##1215501.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001A4F
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121550;
/* rgb */ color: rgb(18, 21, 80);
/* oklch */ color: oklch(24.0% 0.106 273.0);
Tailwind
colors: {
  custom: {
    50: '#5b5282',
    500: '#121550',
    950: '#000000',
  },
}
SCSS
$custom: #121550;
$custom-light: #5b5282;
$custom-dark: #000000;
JSON
{
  "hex": "#121550",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 237.097,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24049,
    "c": 0.10551,
    "h": 273
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#121550
secondary
#898535
accent
#DE41E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121550

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

Preview Lab → · Contrast checker → · Palette generator →

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