#121152#121152

#121152 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.113 H 274.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#121152
RGBrgb(18, 17, 82)
HSLhsl(241, 66%, 19%)
HSVhsv(241, 79%, 32%)
CMYKcmyk(78%, 79.3%, 0%, 67.8%)
CIE-LABlab(10.10, 24.92, -39.11)
CIE-LCHlch(10.10, 46.38, 302.50°)
OKLaboklab(23.55% 0.008 -0.1131)
OKLCHoklch(23.55% 0.113 274)
XYZxyz(1.9724, 1.1385, 8.0968)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121152 #515211
analogous
#113152 #121152 #331152
triadic
#121152 #521211 #115212
tetradic
#121152 #521131 #515211 #115233
square
#121152 #521131 #515211 #115233
split-complementary
#121152 #523311 #315211
monochromatic
#060519 #07061F #121152 #1D1C85 #2826B7

Accessibility & contrast

On white

17.10
#121152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121152
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121152#FFFFFF#000000##FFFFFF
##1211521.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121152;
/* rgb */ color: rgb(18, 17, 82);
/* oklch */ color: oklch(23.6% 0.113 274.0);
Tailwind
colors: {
  custom: {
    50: '#5c4f83',
    500: '#121152',
    950: '#000000',
  },
}
SCSS
$custom: #121152;
$custom-light: #5c4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#121152",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 240.923,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23554,
    "c": 0.11339,
    "h": 274
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#121152
secondary
#8A8B34
accent
#E93FE6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121152

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

Preview Lab → · Contrast checker → · Palette generator →

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