#121351#121351

#121351 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.110 H 273.6°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#121351
RGBrgb(18, 19, 81)
HSLhsl(239, 64%, 19%)
HSVhsv(239, 78%, 32%)
CMYKcmyk(77.8%, 76.5%, 0%, 68.2%)
CIE-LABlab(10.47, 23.18, -37.81)
CIE-LCHlch(10.47, 44.35, 301.51°)
OKLaboklab(23.79% 0.0069 -0.1093)
OKLCHoklch(23.79% 0.11 273.6)
XYZxyz(1.9670, 1.1882, 7.9087)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121351 #515012
analogous
#123351 #121351 #311251
triadic
#121351 #511213 #135112
tetradic
#121351 #511233 #515012 #125131
square
#121351 #511233 #515012 #125131
split-complementary
#121351 #513112 #335112
monochromatic
#060619 #07071F #121351 #1D1F83 #282AB5

Accessibility & contrast

On white

16.97
#121351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121351
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121351#FFFFFF#000000##FFFFFF
##1213511.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001950
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121351;
/* rgb */ color: rgb(18, 19, 81);
/* oklch */ color: oklch(23.8% 0.110 273.6);
Tailwind
colors: {
  custom: {
    50: '#5b5183',
    500: '#121351',
    950: '#000000',
  },
}
SCSS
$custom: #121351;
$custom-light: #5b5183;
$custom-dark: #000000;
JSON
{
  "hex": "#121351",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 239.048,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23788,
    "c": 0.10954,
    "h": 273.6
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#121351
secondary
#8A8935
accent
#E441E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121351

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

Preview Lab → · Contrast checker → · Palette generator →

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