#121476#121476

#121476 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.158 H 269.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#121476
RGBrgb(18, 20, 118)
HSLhsl(239, 74%, 27%)
HSVhsv(239, 85%, 46%)
CMYKcmyk(84.7%, 83.1%, 0%, 53.7%)
CIE-LABlab(15.15, 36.23, -54.64)
CIE-LCHlch(15.15, 65.56, 303.54°)
OKLaboklab(28.42% -0.0008 -0.1582)
OKLCHoklch(28.42% 0.158 269.7)
XYZxyz(3.7685, 1.9365, 17.3112)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121476 #767412
analogous
#124676 #121476 #421276
triadic
#121476 #761214 #147612
tetradic
#121476 #761246 #767412 #127642
square
#121476 #761246 #767412 #127642
split-complementary
#121476 #764212 #467612
monochromatic
#04051B #0A0B41 #121476 #1A1DAB #2528DE

Accessibility & contrast

On white

15.14
#121476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#121476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121476
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121476#FFFFFF#000000##FFFFFF
##1214761.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121476;
/* rgb */ color: rgb(18, 20, 118);
/* oklch */ color: oklch(28.4% 0.158 269.7);
Tailwind
colors: {
  custom: {
    50: '#66549f',
    500: '#121476',
    950: '#000000',
  },
}
SCSS
$custom: #121476;
$custom-light: #66549f;
$custom-dark: #000000;
JSON
{
  "hex": "#121476",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 238.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28415,
    "c": 0.15824,
    "h": 269.7
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#121476
secondary
#ADAA37
accent
#ED38F0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #121476

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

Preview Lab → · Contrast checker → · Palette generator →

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