#121050#121050

#121050 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.112 H 274.6°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#121050
RGBrgb(18, 16, 80)
HSLhsl(242, 67%, 19%)
HSVhsv(242, 80%, 31%)
CMYKcmyk(77.5%, 80%, 0%, 68.6%)
CIE-LABlab(9.63, 24.81, -38.51)
CIE-LCHlch(9.63, 45.81, 302.79°)
OKLaboklab(23.15% 0.009 -0.1114)
OKLCHoklch(23.15% 0.112 274.6)
XYZxyz(1.8822, 1.0782, 7.6968)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121050 #4E5010
analogous
#102E50 #121050 #321050
triadic
#121050 #501210 #105012
tetradic
#121050 #50102E #4E5010 #105032
square
#121050 #50102E #4E5010 #105032
split-complementary
#121050 #503210 #2E5010
monochromatic
#06051A #07061D #121050 #1D1A83 #2924B6

Accessibility & contrast

On white

17.28
#121050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121050
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121050#FFFFFF#000000##FFFFFF
##1210501.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121050;
/* rgb */ color: rgb(18, 16, 80);
/* oklch */ color: oklch(23.2% 0.112 274.6);
Tailwind
colors: {
  custom: {
    50: '#5b4f82',
    500: '#121050',
    950: '#000000',
  },
}
SCSS
$custom: #121050;
$custom-light: #5b4f82;
$custom-dark: #000000;
JSON
{
  "hex": "#121050",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 241.875,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2315,
    "c": 0.11172,
    "h": 274.6
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#121050
secondary
#878A32
accent
#EA3EE4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121050

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

Preview Lab → · Contrast checker → · Palette generator →

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