#121180#121180

#121180 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.173 H 269.2°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#121180
RGBrgb(18, 17, 128)
HSLhsl(241, 77%, 28%)
HSVhsv(241, 87%, 50%)
CMYKcmyk(85.9%, 86.7%, 0%, 49.8%)
CIE-LABlab(15.94, 41.11, -59.73)
CIE-LCHlch(15.94, 72.51, 304.54°)
OKLaboklab(29.34% -0.0024 -0.1729)
OKLCHoklch(29.34% 0.173 269.2)
XYZxyz(4.3449, 2.0875, 20.5918)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121180 #7F8011
analogous
#114780 #121180 #491180
triadic
#121180 #801211 #118012
tetradic
#121180 #801147 #7F8011 #118049
square
#121180 #801147 #7F8011 #118049
split-complementary
#121180 #804911 #478011
monochromatic
#04041B #0A0A4A #121180 #1A18B6 #2B29E3

Accessibility & contrast

On white

14.81
#121180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#121180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121180
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121180#FFFFFF#000000##FFFFFF
##1211801.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D83
Deuteranopia (green-blind)
#00227E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121180;
/* rgb */ color: rgb(18, 17, 128);
/* oklch */ color: oklch(29.3% 0.173 269.2);
Tailwind
colors: {
  custom: {
    50: '#6953a6',
    500: '#121180',
    950: '#000000',
  },
}
SCSS
$custom: #121180;
$custom-light: #6953a6;
$custom-dark: #000000;
JSON
{
  "hex": "#121180",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 240.541,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29338,
    "c": 0.17292,
    "h": 269.2
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#121180
secondary
#B5B637
accent
#F335F1
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #121180

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

Preview Lab → · Contrast checker → · Palette generator →

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