#121259#121259

#121259 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.122 H 272.8°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#121259
RGBrgb(18, 18, 89)
HSLhsl(240, 66%, 21%)
HSVhsv(240, 80%, 35%)
CMYKcmyk(79.8%, 79.8%, 0%, 65.1%)
CIE-LABlab(11.15, 26.93, -42.13)
CIE-LCHlch(11.15, 50.00, 302.58°)
OKLaboklab(24.55% 0.006 -0.1219)
OKLCHoklch(24.55% 0.122 272.8)
XYZxyz(2.2683, 1.2822, 9.5772)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121259 #595912
analogous
#123559 #121259 #351259
triadic
#121259 #591212 #125912
tetradic
#121259 #591235 #595912 #125935
square
#121259 #591235 #595912 #125935
split-complementary
#121259 #593512 #355912
monochromatic
#050519 #080826 #121259 #1C1C8C #2727BF

Accessibility & contrast

On white

16.71
#121259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121259
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121259#FFFFFF#000000##FFFFFF
##1212591.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001A58
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121259;
/* rgb */ color: rgb(18, 18, 89);
/* oklch */ color: oklch(24.6% 0.122 272.8);
Tailwind
colors: {
  custom: {
    50: '#5e5189',
    500: '#121259',
    950: '#000000',
  },
}
SCSS
$custom: #121259;
$custom-light: #5e5189;
$custom-dark: #000000;
JSON
{
  "hex": "#121259",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 240,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2455,
    "c": 0.12207,
    "h": 272.8
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#121259
secondary
#929235
accent
#E93FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121259

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

Preview Lab → · Contrast checker → · Palette generator →

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