#121948#121948

#121948 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.088 H 271.7°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#121948
RGBrgb(18, 25, 72)
HSLhsl(232, 60%, 18%)
HSVhsv(232, 75%, 28%)
CMYKcmyk(75%, 65.3%, 0%, 71.8%)
CIE-LABlab(11.22, 15.13, -30.37)
CIE-LCHlch(11.22, 33.93, 296.48°)
OKLaboklab(24.05% 0.0026 -0.0875)
OKLCHoklch(24.05% 0.088 271.7)
XYZxyz(1.7664, 1.2916, 6.2858)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121948 #484112
analogous
#123448 #121948 #261248
triadic
#121948 #481219 #194812
tetradic
#121948 #481234 #484112 #124826
square
#121948 #481234 #484112 #124826
split-complementary
#121948 #482612 #344812
monochromatic
#060918 #060918 #121948 #1E2A79 #2A3BAA

Accessibility & contrast

On white

16.69
#121948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121948
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121948#FFFFFF#000000##FFFFFF
##1219481.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001C47
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121948;
/* rgb */ color: rgb(18, 25, 72);
/* oklch */ color: oklch(24.1% 0.088 271.7);
Tailwind
colors: {
  custom: {
    50: '#58557b',
    500: '#121948',
    950: '#000000',
  },
}
SCSS
$custom: #121948;
$custom-light: #58557b;
$custom-dark: #000000;
JSON
{
  "hex": "#121948",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 232.222,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24053,
    "c": 0.08753,
    "h": 271.7
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#121948
secondary
#817735
accent
#CF45E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121948

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

Preview Lab → · Contrast checker → · Palette generator →

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