#121064#121064

#121064 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.139 H 271.8°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#121064
RGBrgb(18, 16, 100)
HSLhsl(241, 72%, 23%)
HSVhsv(241, 84%, 39%)
CMYKcmyk(82%, 84%, 0%, 60.8%)
CIE-LABlab(12.08, 32.15, -47.96)
CIE-LCHlch(12.08, 57.74, 303.84°)
OKLaboklab(25.61% 0.0044 -0.1388)
OKLCHoklch(25.61% 0.139 271.8)
XYZxyz(2.7342, 1.4190, 12.1839)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121064 #626410
analogous
#103864 #121064 #3C1064
triadic
#121064 #641210 #106412
tetradic
#121064 #641038 #626410 #10643C
square
#121064 #641038 #626410 #10643C
split-complementary
#121064 #643C10 #386410
monochromatic
#05041A #09082F #121064 #1B1899 #2521CE

Accessibility & contrast

On white

16.36
#121064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121064
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121064#FFFFFF#000000##FFFFFF
##1210641.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121064;
/* rgb */ color: rgb(18, 16, 100);
/* oklch */ color: oklch(25.6% 0.139 271.8);
Tailwind
colors: {
  custom: {
    50: '#615091',
    500: '#121064',
    950: '#000000',
  },
}
SCSS
$custom: #121064;
$custom-light: #615091;
$custom-dark: #000000;
JSON
{
  "hex": "#121064",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 241.429,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.25606,
    "c": 0.13888,
    "h": 271.8
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#121064
secondary
#9A9D33
accent
#EF39EB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121064

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

Preview Lab → · Contrast checker → · Palette generator →

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