#121166#121166

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

Color values

HEX#121166
RGBrgb(18, 17, 102)
HSLhsl(241, 71%, 23%)
HSVhsv(241, 83%, 40%)
CMYKcmyk(82.4%, 83.3%, 0%, 60%)
CIE-LABlab(12.53, 32.29, -48.53)
CIE-LCHlch(12.53, 58.30, 303.64°)
OKLaboklab(26% 0.0036 -0.1405)
OKLCHoklch(26% 0.141 271.5)
XYZxyz(2.8474, 1.4885, 12.7050)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121166 #656611
analogous
#113A66 #121166 #3C1166
triadic
#121166 #661211 #116612
tetradic
#121166 #66113A #656611 #11663C
square
#121166 #66113A #656611 #11663C
split-complementary
#121166 #663C11 #3A6611
monochromatic
#05041A #090832 #121166 #1B1A9A #2522CF

Accessibility & contrast

On white

16.18
#121166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121166
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121166#FFFFFF#000000##FFFFFF
##1211661.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121166;
/* rgb */ color: rgb(18, 17, 102);
/* oklch */ color: oklch(26.0% 0.141 271.5);
Tailwind
colors: {
  custom: {
    50: '#625193',
    500: '#121166',
    950: '#000000',
  },
}
SCSS
$custom: #121166;
$custom-light: #625193;
$custom-dark: #000000;
JSON
{
  "hex": "#121166",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 240.706,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.25995,
    "c": 0.14055,
    "h": 271.5
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#121166
secondary
#9D9E35
accent
#EE3AEC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121166

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

Preview Lab → · Contrast checker → · Palette generator →

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