#121340#121340

#121340 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.084 H 276.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#121340
RGBrgb(18, 19, 64)
HSLhsl(239, 56%, 16%)
HSVhsv(239, 72%, 25%)
CMYKcmyk(71.9%, 70.3%, 0%, 74.9%)
CIE-LABlab(8.69, 16.35, -28.86)
CIE-LCHlch(8.69, 33.17, 299.53°)
OKLaboklab(21.95% 0.0089 -0.0831)
OKLCHoklch(21.95% 0.084 276.1)
XYZxyz(1.4074, 0.9644, 4.9615)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121340 #403F12
analogous
#122A40 #121340 #281240
triadic
#121340 #401213 #134012
tetradic
#121340 #40122A #403F12 #124028
square
#121340 #40122A #403F12 #124028
split-complementary
#121340 #402812 #2A4012
monochromatic
#070718 #070718 #121340 #1F2170 #2D2FA0

Accessibility & contrast

On white

17.60
#121340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#121340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121340
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121340#FFFFFF#000000##FFFFFF
##1213401.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #121340;
/* rgb */ color: rgb(18, 19, 64);
/* oklch */ color: oklch(21.9% 0.084 276.1);
Tailwind
colors: {
  custom: {
    50: '#575075',
    500: '#121340',
    950: '#000000',
  },
}
SCSS
$custom: #121340;
$custom-light: #575075;
$custom-dark: #000000;
JSON
{
  "hex": "#121340",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 238.696,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2195,
    "c": 0.0836,
    "h": 276.1
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#121340
secondary
#797835
accent
#DC48DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #121340

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

Preview Lab → · Contrast checker → · Palette generator →

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