#121460#121460

#121460 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.129 H 271.6°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#121460
RGBrgb(18, 20, 96)
HSLhsl(238, 68%, 22%)
HSVhsv(238, 81%, 38%)
CMYKcmyk(81.3%, 79.2%, 0%, 62.4%)
CIE-LABlab(12.44, 28.28, -44.71)
CIE-LCHlch(12.44, 52.90, 302.31°)
OKLaboklab(25.71% 0.0036 -0.1294)
OKLCHoklch(25.71% 0.129 271.6)
XYZxyz(2.6102, 1.4732, 11.2108)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121460 #605E12
analogous
#123B60 #121460 #371260
triadic
#121460 #601214 #146012
tetradic
#121460 #60123B #605E12 #126037
square
#121460 #60123B #605E12 #126037
split-complementary
#121460 #603712 #3B6012
monochromatic
#05051A #08092C #121460 #1C1F94 #2529C7

Accessibility & contrast

On white

16.22
#121460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121460
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121460#FFFFFF#000000##FFFFFF
##1214601.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001C5F
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121460;
/* rgb */ color: rgb(18, 20, 96);
/* oklch */ color: oklch(25.7% 0.129 271.6);
Tailwind
colors: {
  custom: {
    50: '#60528e',
    500: '#121460',
    950: '#000000',
  },
}
SCSS
$custom: #121460;
$custom-light: #60528e;
$custom-dark: #000000;
JSON
{
  "hex": "#121460",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 238.462,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2571,
    "c": 0.12949,
    "h": 271.6
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#121460
secondary
#989636
accent
#E73DEB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #121460

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

Preview Lab → · Contrast checker → · Palette generator →

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