#121548#121548

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

Color values

HEX#121548
RGBrgb(18, 21, 72)
HSLhsl(237, 60%, 18%)
HSVhsv(237, 75%, 28%)
CMYKcmyk(75%, 70.8%, 0%, 71.8%)
CIE-LABlab(10.05, 18.13, -32.27)
CIE-LCHlch(10.05, 37.02, 299.33°)
OKLaboklab(23.19% 0.0064 -0.0931)
OKLCHoklch(23.19% 0.093 273.9)
XYZxyz(1.6869, 1.1327, 6.2594)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121548 #484512
analogous
#123048 #121548 #2A1248
triadic
#121548 #481215 #154812
tetradic
#121548 #481230 #484512 #12482A
square
#121548 #481230 #484512 #12482A
split-complementary
#121548 #482A12 #304812
monochromatic
#060718 #060718 #121548 #1E2379 #2A32AA

Accessibility & contrast

On white

17.12
#121548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121548
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121548#FFFFFF#000000##FFFFFF
##1215481.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001947
Tritanopia (blue-blind)
#00222C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121548;
/* rgb */ color: rgb(18, 21, 72);
/* oklch */ color: oklch(23.2% 0.093 273.9);
Tailwind
colors: {
  custom: {
    50: '#58527b',
    500: '#121548',
    950: '#000000',
  },
}
SCSS
$custom: #121548;
$custom-light: #58527b;
$custom-dark: #000000;
JSON
{
  "hex": "#121548",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 236.667,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23193,
    "c": 0.09334,
    "h": 273.9
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#121548
secondary
#817D35
accent
#DA45E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121548

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

Preview Lab → · Contrast checker → · Palette generator →

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