#121264#121264

#121264 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.137 H 271.5°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#121264
RGBrgb(18, 18, 100)
HSLhsl(240, 69%, 23%)
HSVhsv(240, 82%, 39%)
CMYKcmyk(82%, 82%, 0%, 60.8%)
CIE-LABlab(12.49, 30.99, -47.29)
CIE-LCHlch(12.49, 56.54, 303.24°)
OKLaboklab(25.89% 0.0037 -0.1369)
OKLCHoklch(25.89% 0.137 271.5)
XYZxyz(2.7652, 1.4810, 12.1942)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121264 #646412
analogous
#123B64 #121264 #3B1264
triadic
#121264 #641212 #126412
tetradic
#121264 #64123B #646412 #12643B
square
#121264 #64123B #646412 #12643B
split-complementary
#121264 #643B12 #3B6412
monochromatic
#05051A #090930 #121264 #1B1B98 #2525CC

Accessibility & contrast

On white

16.20
#121264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121264
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121264#FFFFFF#000000##FFFFFF
##1212641.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121264;
/* rgb */ color: rgb(18, 18, 100);
/* oklch */ color: oklch(25.9% 0.137 271.5);
Tailwind
colors: {
  custom: {
    50: '#615191',
    500: '#121264',
    950: '#000000',
  },
}
SCSS
$custom: #121264;
$custom-light: #615191;
$custom-dark: #000000;
JSON
{
  "hex": "#121264",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 240,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.25889,
    "c": 0.13695,
    "h": 271.5
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#121264
secondary
#9C9C36
accent
#EC3BEC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121264

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

Preview Lab → · Contrast checker → · Palette generator →

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