#121060#121060

#121060 is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.1% C 0.134 H 272.3°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#121060
RGBrgb(18, 16, 96)
HSLhsl(242, 71%, 22%)
HSVhsv(242, 83%, 38%)
CMYKcmyk(81.3%, 83.3%, 0%, 62.4%)
CIE-LABlab(11.58, 30.73, -46.13)
CIE-LCHlch(11.58, 55.43, 303.67°)
OKLaboklab(25.1% 0.0054 -0.1335)
OKLCHoklch(25.1% 0.134 272.3)
XYZxyz(2.5454, 1.3434, 11.1892)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121060 #5E6010
analogous
#103660 #121060 #3A1060
triadic
#121060 #601210 #106012
tetradic
#121060 #601036 #5E6010 #10603A
square
#121060 #601036 #5E6010 #10603A
split-complementary
#121060 #603A10 #366010
monochromatic
#05041A #08072C #121060 #1C1994 #2621C9

Accessibility & contrast

On white

16.55
#121060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121060
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121060#FFFFFF#000000##FFFFFF
##1210601.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002262
Deuteranopia (green-blind)
#001B5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121060;
/* rgb */ color: rgb(18, 16, 96);
/* oklch */ color: oklch(25.1% 0.134 272.3);
Tailwind
colors: {
  custom: {
    50: '#60508e',
    500: '#121060',
    950: '#000000',
  },
}
SCSS
$custom: #121060;
$custom-light: #60508e;
$custom-dark: #000000;
JSON
{
  "hex": "#121060",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 241.5,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25103,
    "c": 0.13364,
    "h": 272.3
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#121060
secondary
#969933
accent
#EE3AEA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #121060

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

Preview Lab → · Contrast checker → · Palette generator →

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