#121364#121364

#121364 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.136 H 271.4°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#121364
RGBrgb(18, 19, 100)
HSLhsl(239, 69%, 23%)
HSVhsv(239, 82%, 39%)
CMYKcmyk(82%, 81%, 0%, 60.8%)
CIE-LABlab(12.70, 30.39, -46.94)
CIE-LCHlch(12.70, 55.92, 302.92°)
OKLaboklab(26.04% 0.0033 -0.1359)
OKLCHoklch(26.04% 0.136 271.4)
XYZxyz(2.7818, 1.5141, 12.1998)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121364 #646312
analogous
#123C64 #121364 #3A1264
triadic
#121364 #641213 #136412
tetradic
#121364 #64123C #646312 #12643A
square
#121364 #64123C #646312 #12643A
split-complementary
#121364 #643A12 #3C6412
monochromatic
#05051A #090930 #121364 #1B1D98 #2527CC

Accessibility & contrast

On white

16.12
#121364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121364
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121364#FFFFFF#000000##FFFFFF
##1213641.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001D63
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121364;
/* rgb */ color: rgb(18, 19, 100);
/* oklch */ color: oklch(26.0% 0.136 271.4);
Tailwind
colors: {
  custom: {
    50: '#615291',
    500: '#121364',
    950: '#000000',
  },
}
SCSS
$custom: #121364;
$custom-light: #615291;
$custom-dark: #000000;
JSON
{
  "hex": "#121364",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 239.268,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26037,
    "c": 0.13594,
    "h": 271.4
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#121364
secondary
#9C9B36
accent
#EA3BEC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121364

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

Preview Lab → · Contrast checker → · Palette generator →

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