#121176#121176

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

Color values

HEX#121176
RGBrgb(18, 17, 118)
HSLhsl(241, 75%, 26%)
HSVhsv(241, 86%, 46%)
CMYKcmyk(84.7%, 85.6%, 0%, 53.7%)
CIE-LABlab(14.61, 37.81, -55.54)
CIE-LCHlch(14.61, 67.19, 304.25°)
OKLaboklab(28.04% -0.0001 -0.1608)
OKLCHoklch(28.04% 0.161 270)
XYZxyz(3.7188, 1.8371, 17.2946)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121176 #757611
analogous
#114376 #121176 #451176
triadic
#121176 #761211 #117612
tetradic
#121176 #761143 #757611 #117645
square
#121176 #761143 #757611 #117645
split-complementary
#121176 #764511 #437611
monochromatic
#04041B #0A0941 #121176 #1A19AB #2422DF

Accessibility & contrast

On white

15.36
#121176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#121176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121176
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121176#FFFFFF#000000##FFFFFF
##1211761.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121176;
/* rgb */ color: rgb(18, 17, 118);
/* oklch */ color: oklch(28.0% 0.161 270.0);
Tailwind
colors: {
  custom: {
    50: '#66529f',
    500: '#121176',
    950: '#000000',
  },
}
SCSS
$custom: #121176;
$custom-light: #66529f;
$custom-dark: #000000;
JSON
{
  "hex": "#121176",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 240.594,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28037,
    "c": 0.16079,
    "h": 270
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#121176
secondary
#ACAD36
accent
#F136F0
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #121176

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

Preview Lab → · Contrast checker → · Palette generator →

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