#121052#121052

#121052 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.4% C 0.115 H 274.3°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#121052
RGBrgb(18, 16, 82)
HSLhsl(242, 67%, 19%)
HSVhsv(242, 80%, 32%)
CMYKcmyk(78%, 80.5%, 0%, 67.8%)
CIE-LABlab(9.86, 25.57, -39.50)
CIE-LCHlch(9.86, 47.05, 302.92°)
OKLaboklab(23.39% 0.0086 -0.1142)
OKLCHoklch(23.39% 0.115 274.3)
XYZxyz(1.9572, 1.1082, 8.0918)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121052 #505210
analogous
#102F52 #121052 #331052
triadic
#121052 #521210 #105212
tetradic
#121052 #52102F #505210 #105233
square
#121052 #52102F #505210 #105233
split-complementary
#121052 #523310 #2F5210
monochromatic
#06051A #07061F #121052 #1D1A85 #2824B8

Accessibility & contrast

On white

17.19
#121052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121052
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121052#FFFFFF#000000##FFFFFF
##1210521.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001851
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121052;
/* rgb */ color: rgb(18, 16, 82);
/* oklch */ color: oklch(23.4% 0.115 274.3);
Tailwind
colors: {
  custom: {
    50: '#5c4f83',
    500: '#121052',
    950: '#000000',
  },
}
SCSS
$custom: #121052;
$custom-light: #5c4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#121052",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 241.818,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23388,
    "c": 0.11455,
    "h": 274.3
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#121052
secondary
#898C32
accent
#EA3EE5
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121052

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

Preview Lab → · Contrast checker → · Palette generator →

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