#121C48#121C48

#121C48 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.083 H 269.7°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#121C48
RGBrgb(18, 28, 72)
HSLhsl(229, 60%, 18%)
HSVhsv(229, 75%, 28%)
CMYKcmyk(75%, 61.1%, 0%, 71.8%)
CIE-LABlab(12.13, 12.84, -28.88)
CIE-LCHlch(12.13, 31.61, 293.96°)
OKLaboklab(24.74% -0.0004 -0.0831)
OKLCHoklch(24.74% 0.083 269.7)
XYZxyz(1.8340, 1.4268, 6.3084)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C48 #483E12
analogous
#123748 #121C48 #231248
triadic
#121C48 #48121C #1C4812
tetradic
#121C48 #481237 #483E12 #124823
square
#121C48 #481237 #483E12 #124823
split-complementary
#121C48 #482312 #374812
monochromatic
#060A18 #060A18 #121C48 #1E2F79 #2A42AA

Accessibility & contrast

On white

16.34
#121C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C48
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C48#FFFFFF#000000##FFFFFF
##121C481.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121c48;
/* rgb */ color: rgb(18, 28, 72);
/* oklch */ color: oklch(24.7% 0.083 269.7);
Tailwind
colors: {
  custom: {
    50: '#58577b',
    500: '#121c48',
    950: '#000000',
  },
}
SCSS
$custom: #121c48;
$custom-light: #58577b;
$custom-dark: #000000;
JSON
{
  "hex": "#121c48",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 228.889,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2474,
    "c": 0.08306,
    "h": 269.7
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#121C48
secondary
#817335
accent
#C645E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121C48

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

Preview Lab → · Contrast checker → · Palette generator →

#121C48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva