#121056#121056

#121056 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.9% C 0.120 H 273.7°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#121056
RGBrgb(18, 16, 86)
HSLhsl(242, 69%, 20%)
HSVhsv(242, 81%, 34%)
CMYKcmyk(79.1%, 81.4%, 0%, 66.3%)
CIE-LABlab(10.34, 27.07, -41.44)
CIE-LCHlch(10.34, 49.50, 303.16°)
OKLaboklab(23.87% 0.0077 -0.1199)
OKLCHoklch(23.87% 0.12 273.7)
XYZxyz(2.1139, 1.1709, 8.9169)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121056 #545610
analogous
#103156 #121056 #351056
triadic
#121056 #561210 #105612
tetradic
#121056 #561031 #545610 #105635
square
#121056 #561031 #545610 #105635
split-complementary
#121056 #563510 #315610
monochromatic
#05051A #070622 #121056 #1D1A8A #2823BD

Accessibility & contrast

On white

17.02
#121056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121056
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121056#FFFFFF#000000##FFFFFF
##1210561.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121056;
/* rgb */ color: rgb(18, 16, 86);
/* oklch */ color: oklch(23.9% 0.120 273.7);
Tailwind
colors: {
  custom: {
    50: '#5d4f87',
    500: '#121056',
    950: '#000000',
  },
}
SCSS
$custom: #121056;
$custom-light: #5d4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#121056",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 241.714,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.23869,
    "c": 0.12013,
    "h": 273.7
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#121056
secondary
#8D8F32
accent
#EB3CE6
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121056

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

Preview Lab → · Contrast checker → · Palette generator →

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