#121660#121660

#121660 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.127 H 271.2°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#121660
RGBrgb(18, 22, 96)
HSLhsl(237, 68%, 22%)
HSVhsv(237, 81%, 38%)
CMYKcmyk(81.3%, 77.1%, 0%, 62.4%)
CIE-LABlab(12.90, 26.98, -43.94)
CIE-LCHlch(12.90, 51.56, 301.55°)
OKLaboklab(26.04% 0.0026 -0.1272)
OKLCHoklch(26.04% 0.127 271.2)
XYZxyz(2.6470, 1.5467, 11.2231)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121660 #605C12
analogous
#123D60 #121660 #351260
triadic
#121660 #601216 #166012
tetradic
#121660 #60123D #605C12 #126035
square
#121660 #60123D #605C12 #126035
split-complementary
#121660 #603512 #3D6012
monochromatic
#05061A #080A2C #121660 #1C2294 #252EC7

Accessibility & contrast

On white

16.04
#121660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121660
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121660#FFFFFF#000000##FFFFFF
##1216601.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121660;
/* rgb */ color: rgb(18, 22, 96);
/* oklch */ color: oklch(26.0% 0.127 271.2);
Tailwind
colors: {
  custom: {
    50: '#5f548e',
    500: '#121660',
    950: '#000000',
  },
}
SCSS
$custom: #121660;
$custom-light: #5f548e;
$custom-dark: #000000;
JSON
{
  "hex": "#121660",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 236.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26042,
    "c": 0.12725,
    "h": 271.2
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#121660
secondary
#989336
accent
#E23DEB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #121660

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

Preview Lab → · Contrast checker → · Palette generator →

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