#121160#121160

#121160 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.133 H 272.1°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#121160
RGBrgb(18, 17, 96)
HSLhsl(241, 70%, 22%)
HSVhsv(241, 82%, 38%)
CMYKcmyk(81.3%, 82.3%, 0%, 62.4%)
CIE-LABlab(11.78, 30.14, -45.79)
CIE-LCHlch(11.78, 54.82, 303.35°)
OKLaboklab(25.25% 0.005 -0.1325)
OKLCHoklch(25.25% 0.133 272.1)
XYZxyz(2.5605, 1.3737, 11.1943)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121160 #5F6011
analogous
#113860 #121160 #391160
triadic
#121160 #601211 #116012
tetradic
#121160 #601138 #5F6011 #116039
square
#121160 #601138 #5F6011 #116039
split-complementary
#121160 #603911 #386011
monochromatic
#05051A #08082C #121160 #1C1A94 #2523C8

Accessibility & contrast

On white

16.47
#121160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121160
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121160#FFFFFF#000000##FFFFFF
##1211601.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002362
Deuteranopia (green-blind)
#001B5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121160;
/* rgb */ color: rgb(18, 17, 96);
/* oklch */ color: oklch(25.2% 0.133 272.1);
Tailwind
colors: {
  custom: {
    50: '#60508e',
    500: '#121160',
    950: '#000000',
  },
}
SCSS
$custom: #121160;
$custom-light: #60508e;
$custom-dark: #000000;
JSON
{
  "hex": "#121160",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 240.759,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25247,
    "c": 0.13264,
    "h": 272.1
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#121160
secondary
#979934
accent
#ED3BEA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #121160

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

Preview Lab → · Contrast checker → · Palette generator →

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