#121148#121148

#121148 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.099 H 275.7°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#121148
RGBrgb(18, 17, 72)
HSLhsl(241, 62%, 17%)
HSVhsv(241, 76%, 28%)
CMYKcmyk(75%, 76.4%, 0%, 71.8%)
CIE-LABlab(8.97, 21.03, -34.05)
CIE-LCHlch(8.97, 40.02, 301.71°)
OKLaboklab(22.41% 0.0098 -0.0983)
OKLCHoklch(22.41% 0.099 275.7)
XYZxyz(1.6192, 0.9972, 6.2368)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121148 #474811
analogous
#112B48 #121148 #2E1148
triadic
#121148 #481211 #114812
tetradic
#121148 #48112B #474811 #11482E
square
#121148 #48112B #474811 #11482E
split-complementary
#121148 #482E11 #2B4811
monochromatic
#060619 #060619 #121148 #1E1D7A #2B28AB

Accessibility & contrast

On white

17.51
#121148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121148
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121148#FFFFFF#000000##FFFFFF
##1211481.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #121148;
/* rgb */ color: rgb(18, 17, 72);
/* oklch */ color: oklch(22.4% 0.099 275.7);
Tailwind
colors: {
  custom: {
    50: '#594f7c',
    500: '#121148',
    950: '#000000',
  },
}
SCSS
$custom: #121148;
$custom-light: #594f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#121148",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 241.091,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22406,
    "c": 0.09882,
    "h": 275.7
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#121148
secondary
#808233
accent
#E543E2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121148

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

Preview Lab → · Contrast checker → · Palette generator →

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