#121552#121552

#121552 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.108 H 272.8°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#121552
RGBrgb(18, 21, 82)
HSLhsl(237, 64%, 20%)
HSVhsv(237, 78%, 32%)
CMYKcmyk(78%, 74.4%, 0%, 67.8%)
CIE-LABlab(11.09, 22.18, -37.47)
CIE-LCHlch(11.09, 43.54, 300.62°)
OKLaboklab(24.27% 0.0053 -0.1083)
OKLCHoklch(24.27% 0.108 272.8)
XYZxyz(2.0401, 1.2739, 8.1194)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121552 #524F12
analogous
#123552 #121552 #2F1252
triadic
#121552 #521215 #155212
tetradic
#121552 #521235 #524F12 #12522F
square
#121552 #521235 #524F12 #12522F
split-complementary
#121552 #522F12 #355212
monochromatic
#060619 #070820 #121552 #1D2284 #282FB6

Accessibility & contrast

On white

16.74
#121552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121552
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121552#FFFFFF#000000##FFFFFF
##1215521.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121552;
/* rgb */ color: rgb(18, 21, 82);
/* oklch */ color: oklch(24.3% 0.108 272.8);
Tailwind
colors: {
  custom: {
    50: '#5b5283',
    500: '#121552',
    950: '#000000',
  },
}
SCSS
$custom: #121552;
$custom-light: #5b5283;
$custom-dark: #000000;
JSON
{
  "hex": "#121552",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 237.188,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2427,
    "c": 0.10847,
    "h": 272.8
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#121552
secondary
#8B8735
accent
#DF41E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #121552

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

Preview Lab → · Contrast checker → · Palette generator →

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