#121168#121168

#121168 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.143 H 271.3°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#121168
RGBrgb(18, 17, 104)
HSLhsl(241, 72%, 24%)
HSVhsv(241, 84%, 41%)
CMYKcmyk(82.7%, 83.7%, 0%, 59.2%)
CIE-LABlab(12.79, 33.00, -49.43)
CIE-LCHlch(12.79, 59.44, 303.73°)
OKLaboklab(26.25% 0.0031 -0.1431)
OKLCHoklch(26.25% 0.143 271.3)
XYZxyz(2.9477, 1.5286, 13.2337)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121168 #676811
analogous
#113B68 #121168 #3D1168
triadic
#121168 #681211 #116812
tetradic
#121168 #68113B #676811 #11683D
square
#121168 #68113B #676811 #11683D
split-complementary
#121168 #683D11 #3B6811
monochromatic
#05041A #090833 #121168 #1B1A9D #2422D1

Accessibility & contrast

On white

16.08
#121168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121168
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121168#FFFFFF#000000##FFFFFF
##1211681.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256A
Deuteranopia (green-blind)
#001D67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121168;
/* rgb */ color: rgb(18, 17, 104);
/* oklch */ color: oklch(26.2% 0.143 271.3);
Tailwind
colors: {
  custom: {
    50: '#625194',
    500: '#121168',
    950: '#000000',
  },
}
SCSS
$custom: #121168;
$custom-light: #625194;
$custom-dark: #000000;
JSON
{
  "hex": "#121168",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 240.69,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26247,
    "c": 0.14314,
    "h": 271.3
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#121168
secondary
#9FA035
accent
#EF39ED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121168

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

Preview Lab → · Contrast checker → · Palette generator →

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