#121560#121560

#121560 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.128 H 271.4°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#121560
RGBrgb(18, 21, 96)
HSLhsl(238, 68%, 22%)
HSVhsv(238, 81%, 38%)
CMYKcmyk(81.3%, 78.1%, 0%, 62.4%)
CIE-LABlab(12.67, 27.63, -44.33)
CIE-LCHlch(12.67, 52.24, 301.94°)
OKLaboklab(25.87% 0.0031 -0.1283)
OKLCHoklch(25.87% 0.128 271.4)
XYZxyz(2.6282, 1.5092, 11.2168)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121560 #605D12
analogous
#123C60 #121560 #361260
triadic
#121560 #601215 #156012
tetradic
#121560 #60123C #605D12 #126036
square
#121560 #60123C #605D12 #126036
split-complementary
#121560 #603612 #3C6012
monochromatic
#05061A #080A2C #121560 #1C2094 #252CC7

Accessibility & contrast

On white

16.13
#121560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121560
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121560#FFFFFF#000000##FFFFFF
##1215601.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#001D5F
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121560;
/* rgb */ color: rgb(18, 21, 96);
/* oklch */ color: oklch(25.9% 0.128 271.4);
Tailwind
colors: {
  custom: {
    50: '#5f538e',
    500: '#121560',
    950: '#000000',
  },
}
SCSS
$custom: #121560;
$custom-light: #5f538e;
$custom-dark: #000000;
JSON
{
  "hex": "#121560",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 237.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25874,
    "c": 0.12838,
    "h": 271.4
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#121560
secondary
#989436
accent
#E53DEB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #121560

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

Preview Lab → · Contrast checker → · Palette generator →

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