#121352#121352

#121352 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.111 H 273.5°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#121352
RGBrgb(18, 19, 82)
HSLhsl(239, 64%, 20%)
HSVhsv(239, 78%, 32%)
CMYKcmyk(78%, 76.8%, 0%, 67.8%)
CIE-LABlab(10.58, 23.57, -38.31)
CIE-LCHlch(10.58, 44.98, 301.60°)
OKLaboklab(23.9% 0.0067 -0.1108)
OKLCHoklch(23.9% 0.111 273.5)
XYZxyz(2.0048, 1.2033, 8.1076)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121352 #525112
analogous
#123352 #121352 #311252
triadic
#121352 #521213 #135212
tetradic
#121352 #521233 #525112 #125231
square
#121352 #521233 #525112 #125231
split-complementary
#121352 #523112 #335212
monochromatic
#060619 #070720 #121352 #1D1F84 #282AB6

Accessibility & contrast

On white

16.92
#121352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121352
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121352#FFFFFF#000000##FFFFFF
##1213521.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121352;
/* rgb */ color: rgb(18, 19, 82);
/* oklch */ color: oklch(23.9% 0.111 273.5);
Tailwind
colors: {
  custom: {
    50: '#5c5183',
    500: '#121352',
    950: '#000000',
  },
}
SCSS
$custom: #121352;
$custom-light: #5c5183;
$custom-dark: #000000;
JSON
{
  "hex": "#121352",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 239.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23902,
    "c": 0.11098,
    "h": 273.5
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#121352
secondary
#8B8A35
accent
#E441E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #121352

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

Preview Lab → · Contrast checker → · Palette generator →

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