#121048#121048

#121048 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.100 H 276.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#121048
RGBrgb(18, 16, 72)
HSLhsl(242, 64%, 17%)
HSVhsv(242, 78%, 28%)
CMYKcmyk(75%, 77.8%, 0%, 71.8%)
CIE-LABlab(8.71, 21.73, -34.47)
CIE-LCHlch(8.71, 40.75, 302.23°)
OKLaboklab(22.22% 0.0106 -0.0995)
OKLCHoklch(22.22% 0.1 276.1)
XYZxyz(1.6041, 0.9669, 6.2317)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121048 #464810
analogous
#102A48 #121048 #2E1048
triadic
#121048 #481210 #104812
tetradic
#121048 #48102A #464810 #10482E
square
#121048 #48102A #464810 #10482E
split-complementary
#121048 #482E10 #2A4810
monochromatic
#060619 #060619 #121048 #1F1B7A #2B26AC

Accessibility & contrast

On white

17.60
#121048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#121048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121048
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121048#FFFFFF#000000##FFFFFF
##1210481.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #121048;
/* rgb */ color: rgb(18, 16, 72);
/* oklch */ color: oklch(22.2% 0.100 276.1);
Tailwind
colors: {
  custom: {
    50: '#594e7c',
    500: '#121048',
    950: '#000000',
  },
}
SCSS
$custom: #121048;
$custom-light: #594e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#121048",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 242.143,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22222,
    "c": 0.10011,
    "h": 276.1
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#121048
secondary
#7F8232
accent
#E741E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #121048

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

Preview Lab → · Contrast checker → · Palette generator →

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