#121164#121164

#121164 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.138 H 271.7°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#121164
RGBrgb(18, 17, 100)
HSLhsl(241, 71%, 23%)
HSVhsv(241, 83%, 39%)
CMYKcmyk(82%, 83%, 0%, 60.8%)
CIE-LABlab(12.28, 31.58, -47.63)
CIE-LCHlch(12.28, 57.15, 303.55°)
OKLaboklab(25.75% 0.0041 -0.1379)
OKLCHoklch(25.75% 0.138 271.7)
XYZxyz(2.7494, 1.4493, 12.1890)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121164 #636411
analogous
#113964 #121164 #3B1164
triadic
#121164 #641211 #116412
tetradic
#121164 #641139 #636411 #11643B
square
#121164 #641139 #636411 #11643B
split-complementary
#121164 #643B11 #396411
monochromatic
#05041A #090830 #121164 #1B1A98 #2523CD

Accessibility & contrast

On white

16.28
#121164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121164
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121164#FFFFFF#000000##FFFFFF
##1211641.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002466
Deuteranopia (green-blind)
#001C63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121164;
/* rgb */ color: rgb(18, 17, 100);
/* oklch */ color: oklch(25.7% 0.138 271.7);
Tailwind
colors: {
  custom: {
    50: '#615191',
    500: '#121164',
    950: '#000000',
  },
}
SCSS
$custom: #121164;
$custom-light: #615191;
$custom-dark: #000000;
JSON
{
  "hex": "#121164",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 240.723,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.25745,
    "c": 0.13793,
    "h": 271.7
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#121164
secondary
#9B9C35
accent
#EE3AEC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121164

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

Preview Lab → · Contrast checker → · Palette generator →

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