#121190#121190

#121190 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.192 H 268.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#121190
RGBrgb(18, 17, 144)
HSLhsl(240, 79%, 32%)
HSVhsv(240, 88%, 56%)
CMYKcmyk(87.5%, 88.2%, 0%, 43.5%)
CIE-LABlab(18.11, 46.16, -66.19)
CIE-LCHlch(18.11, 80.70, 304.89°)
OKLaboklab(31.44% -0.0059 -0.1915)
OKLCHoklch(31.44% 0.192 268.2)
XYZxyz(5.4822, 2.5424, 26.5819)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121190 #8F9011
analogous
#115090 #121190 #521190
triadic
#121190 #901211 #119012
tetradic
#121190 #901150 #8F9011 #119052
square
#121190 #901150 #8F9011 #119052
split-complementary
#121190 #905211 #509011
monochromatic
#040423 #0B0B59 #121190 #1917C7 #3634E7

Accessibility & contrast

On white

13.92
#121190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#121190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121190
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121190#FFFFFF#000000##FFFFFF
##1211901.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003393
Deuteranopia (green-blind)
#00258E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #121190;
/* rgb */ color: rgb(18, 17, 144);
/* oklch */ color: oklch(31.4% 0.192 268.2);
Tailwind
colors: {
  custom: {
    50: '#6e55b2',
    500: '#121190',
    950: '#000000',
  },
}
SCSS
$custom: #121190;
$custom-light: #6e55b2;
$custom-dark: #000000;
JSON
{
  "hex": "#121190",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 240.472,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31441,
    "c": 0.19164,
    "h": 268.2
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#121190
secondary
#C3C439
accent
#F532F4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #121190

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

Preview Lab → · Contrast checker → · Palette generator →

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