#121556#121556

#121556 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.7% C 0.114 H 272.4°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#121556
RGBrgb(18, 21, 86)
HSLhsl(237, 65%, 20%)
HSVhsv(237, 79%, 34%)
CMYKcmyk(79.1%, 75.6%, 0%, 66.3%)
CIE-LABlab(11.53, 23.77, -39.48)
CIE-LCHlch(11.53, 46.08, 301.05°)
OKLaboklab(24.72% 0.0048 -0.1142)
OKLCHoklch(24.72% 0.114 272.4)
XYZxyz(2.1968, 1.3366, 8.9445)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121556 #565312
analogous
#123756 #121556 #311256
triadic
#121556 #561215 #155612
tetradic
#121556 #561237 #565312 #125631
square
#121556 #561237 #565312 #125631
split-complementary
#121556 #563112 #375612
monochromatic
#050619 #070923 #121556 #1D2189 #272EBB

Accessibility & contrast

On white

16.57
#121556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121556
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121556#FFFFFF#000000##FFFFFF
##1215561.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121556;
/* rgb */ color: rgb(18, 21, 86);
/* oklch */ color: oklch(24.7% 0.114 272.4);
Tailwind
colors: {
  custom: {
    50: '#5c5286',
    500: '#121556',
    950: '#000000',
  },
}
SCSS
$custom: #121556;
$custom-light: #5c5286;
$custom-dark: #000000;
JSON
{
  "hex": "#121556",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 237.353,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24718,
    "c": 0.1143,
    "h": 272.4
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#121556
secondary
#8F8B35
accent
#E13FE8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121556

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

Preview Lab → · Contrast checker → · Palette generator →

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