#121066#121066

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

Color values

HEX#121066
RGBrgb(18, 16, 102)
HSLhsl(241, 73%, 23%)
HSVhsv(241, 84%, 40%)
CMYKcmyk(82.4%, 84.3%, 0%, 60%)
CIE-LABlab(12.34, 32.86, -48.86)
CIE-LCHlch(12.34, 58.88, 303.92°)
OKLaboklab(25.86% 0.0039 -0.1414)
OKLCHoklch(25.86% 0.141 271.6)
XYZxyz(2.8322, 1.4582, 12.7000)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121066 #646610
analogous
#103966 #121066 #3D1066
triadic
#121066 #661210 #106612
tetradic
#121066 #661039 #646610 #10663D
square
#121066 #661039 #646610 #10663D
split-complementary
#121066 #663D10 #396610
monochromatic
#05041A #090831 #121066 #1B189B #2521D0

Accessibility & contrast

On white

16.26
#121066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121066
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121066#FFFFFF#000000##FFFFFF
##1210661.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002468
Deuteranopia (green-blind)
#001C65
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121066;
/* rgb */ color: rgb(18, 16, 102);
/* oklch */ color: oklch(25.9% 0.141 271.6);
Tailwind
colors: {
  custom: {
    50: '#625093',
    500: '#121066',
    950: '#000000',
  },
}
SCSS
$custom: #121066;
$custom-light: #625093;
$custom-dark: #000000;
JSON
{
  "hex": "#121066",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 241.395,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.25859,
    "c": 0.14147,
    "h": 271.6
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#121066
secondary
#9C9E33
accent
#F038EB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121066

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

Preview Lab → · Contrast checker → · Palette generator →

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