#121555#121555

#121555 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.113 H 272.5°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#121555
RGBrgb(18, 21, 85)
HSLhsl(237, 65%, 20%)
HSVhsv(237, 79%, 33%)
CMYKcmyk(78.8%, 75.3%, 0%, 66.7%)
CIE-LABlab(11.42, 23.37, -38.98)
CIE-LCHlch(11.42, 45.45, 300.95°)
OKLaboklab(24.61% 0.0049 -0.1127)
OKLCHoklch(24.61% 0.113 272.5)
XYZxyz(2.1568, 1.3206, 8.7338)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121555 #555212
analogous
#123755 #121555 #301255
triadic
#121555 #551215 #155512
tetradic
#121555 #551237 #555212 #125530
square
#121555 #551237 #555212 #125530
split-complementary
#121555 #553012 #375512
monochromatic
#050619 #070922 #121555 #1D2188 #272EBA

Accessibility & contrast

On white

16.61
#121555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121555
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121555#FFFFFF#000000##FFFFFF
##1215551.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#001B54
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121555;
/* rgb */ color: rgb(18, 21, 85);
/* oklch */ color: oklch(24.6% 0.113 272.5);
Tailwind
colors: {
  custom: {
    50: '#5c5286',
    500: '#121555',
    950: '#000000',
  },
}
SCSS
$custom: #121555;
$custom-light: #5c5286;
$custom-dark: #000000;
JSON
{
  "hex": "#121555",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 237.313,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24605,
    "c": 0.11285,
    "h": 272.5
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#121555
secondary
#8E8A35
accent
#E040E8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121555

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

Preview Lab → · Contrast checker → · Palette generator →

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