#121159#121159

#121159 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.4% C 0.123 H 273.0°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#121159
RGBrgb(18, 17, 89)
HSLhsl(241, 68%, 21%)
HSVhsv(241, 81%, 35%)
CMYKcmyk(79.8%, 80.9%, 0%, 65.1%)
CIE-LABlab(10.92, 27.56, -42.51)
CIE-LCHlch(10.92, 50.66, 302.96°)
OKLaboklab(24.39% 0.0065 -0.123)
OKLCHoklch(24.39% 0.123 273)
XYZxyz(2.2525, 1.2505, 9.5719)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121159 #585911
analogous
#113459 #121159 #361159
triadic
#121159 #591211 #115912
tetradic
#121159 #591134 #585911 #115936
square
#121159 #591134 #585911 #115936
split-complementary
#121159 #593611 #345911
monochromatic
#05051A #080726 #121159 #1C1B8C #2725C0

Accessibility & contrast

On white

16.80
#121159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121159
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121159#FFFFFF#000000##FFFFFF
##1211591.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001A58
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121159;
/* rgb */ color: rgb(18, 17, 89);
/* oklch */ color: oklch(24.4% 0.123 273.0);
Tailwind
colors: {
  custom: {
    50: '#5e5089',
    500: '#121159',
    950: '#000000',
  },
}
SCSS
$custom: #121159;
$custom-light: #5e5089;
$custom-dark: #000000;
JSON
{
  "hex": "#121159",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 240.833,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2439,
    "c": 0.12317,
    "h": 273
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#121159
secondary
#919234
accent
#EB3DE8
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #121159

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

Preview Lab → · Contrast checker → · Palette generator →

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