#121076#121076

#121076 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.162 H 270.0°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#121076
RGBrgb(18, 16, 118)
HSLhsl(241, 76%, 26%)
HSVhsv(241, 86%, 46%)
CMYKcmyk(84.7%, 86.4%, 0%, 53.7%)
CIE-LABlab(14.44, 38.31, -55.82)
CIE-LCHlch(14.44, 67.70, 304.46°)
OKLaboklab(27.92% 0.0001 -0.1616)
OKLCHoklch(27.92% 0.162 270)
XYZxyz(3.7036, 1.8068, 17.2896)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121076 #747610
analogous
#104176 #121076 #451076
triadic
#121076 #761210 #107612
tetradic
#121076 #761041 #747610 #107645
square
#121076 #761041 #747610 #107645
split-complementary
#121076 #764510 #417610
monochromatic
#04041B #0A0940 #121076 #1A17AC #2320E1

Accessibility & contrast

On white

15.43
#121076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121076
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121076#FFFFFF#000000##FFFFFF
##1210761.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#001F74
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121076;
/* rgb */ color: rgb(18, 16, 118);
/* oklch */ color: oklch(27.9% 0.162 270.0);
Tailwind
colors: {
  custom: {
    50: '#66529f',
    500: '#121076',
    950: '#000000',
  },
}
SCSS
$custom: #121076;
$custom-light: #66529f;
$custom-dark: #000000;
JSON
{
  "hex": "#121076",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 241.176,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2792,
    "c": 0.16158,
    "h": 270
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#121076
secondary
#ABAD35
accent
#F335EF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #121076

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

Preview Lab → · Contrast checker → · Palette generator →

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