#121049#121049

#121049 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.102 H 275.9°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#121049
RGBrgb(18, 16, 73)
HSLhsl(242, 64%, 17%)
HSVhsv(242, 78%, 29%)
CMYKcmyk(75.3%, 78.1%, 0%, 71.4%)
CIE-LABlab(8.82, 22.12, -34.98)
CIE-LCHlch(8.82, 41.39, 302.31°)
OKLaboklab(22.34% 0.0104 -0.1011)
OKLCHoklch(22.34% 0.102 275.9)
XYZxyz(1.6369, 0.9801, 6.4049)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121049 #474910
analogous
#102B49 #121049 #2E1049
triadic
#121049 #491210 #104912
tetradic
#121049 #49102B #474910 #10492E
square
#121049 #49102B #474910 #10492E
split-complementary
#121049 #492E10 #2B4910
monochromatic
#060619 #060619 #121049 #1E1B7B #2B26AD

Accessibility & contrast

On white

17.56
#121049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#121049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121049
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121049#FFFFFF#000000##FFFFFF
##1210491.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001748
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #121049;
/* rgb */ color: rgb(18, 16, 73);
/* oklch */ color: oklch(22.3% 0.102 275.9);
Tailwind
colors: {
  custom: {
    50: '#594e7c',
    500: '#121049',
    950: '#000000',
  },
}
SCSS
$custom: #121049;
$custom-light: #594e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#121049",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 242.105,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22336,
    "c": 0.10159,
    "h": 275.9
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#121049
secondary
#808332
accent
#E741E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #121049

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

Preview Lab → · Contrast checker → · Palette generator →

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