#121580#121580

#121580 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.170 H 269.0°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#121580
RGBrgb(18, 21, 128)
HSLhsl(238, 75%, 29%)
HSVhsv(238, 86%, 50%)
CMYKcmyk(85.9%, 83.6%, 0%, 49.8%)
CIE-LABlab(16.62, 39.12, -58.61)
CIE-LCHlch(16.62, 70.46, 303.72°)
OKLaboklab(29.81% -0.0031 -0.1697)
OKLCHoklch(29.81% 0.17 269)
XYZxyz(4.4126, 2.2229, 20.6144)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121580 #807D12
analogous
#124C80 #121580 #461280
triadic
#121580 #801215 #158012
tetradic
#121580 #80124C #807D12 #128046
square
#121580 #80124C #807D12 #128046
split-complementary
#121580 #804612 #4C8012
monochromatic
#04041B #0A0C4A #121580 #1A1EB6 #2B30E1

Accessibility & contrast

On white

14.54
#121580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#121580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121580
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121580#FFFFFF#000000##FFFFFF
##1215801.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #121580;
/* rgb */ color: rgb(18, 21, 128);
/* oklch */ color: oklch(29.8% 0.170 269.0);
Tailwind
colors: {
  custom: {
    50: '#6955a6',
    500: '#121580',
    950: '#000000',
  },
}
SCSS
$custom: #121580;
$custom-light: #6955a6;
$custom-dark: #000000;
JSON
{
  "hex": "#121580",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 238.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29807,
    "c": 0.16977,
    "h": 269
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#121580
secondary
#B6B238
accent
#ED36F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #121580

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

Preview Lab → · Contrast checker → · Palette generator →

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