#121D48#121D48

#121D48 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.082 H 269.0°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#121D48
RGBrgb(18, 29, 72)
HSLhsl(228, 60%, 18%)
HSVhsv(228, 75%, 28%)
CMYKcmyk(75%, 59.7%, 0%, 71.8%)
CIE-LABlab(12.45, 12.07, -28.37)
CIE-LCHlch(12.45, 30.84, 293.05°)
OKLaboklab(24.98% -0.0015 -0.0815)
OKLCHoklch(24.98% 0.082 269)
XYZxyz(1.8581, 1.4750, 6.3164)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D48 #483D12
analogous
#123848 #121D48 #221248
triadic
#121D48 #48121D #1D4812
tetradic
#121D48 #481238 #483D12 #124822
square
#121D48 #481238 #483D12 #124822
split-complementary
#121D48 #482212 #384812
monochromatic
#060A18 #060A18 #121D48 #1E3179 #2A44AA

Accessibility & contrast

On white

16.22
#121D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D48
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D48#FFFFFF#000000##FFFFFF
##121D481.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02234A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121d48;
/* rgb */ color: rgb(18, 29, 72);
/* oklch */ color: oklch(25.0% 0.082 269.0);
Tailwind
colors: {
  custom: {
    50: '#58587b',
    500: '#121d48',
    950: '#000000',
  },
}
SCSS
$custom: #121d48;
$custom-light: #58587b;
$custom-dark: #000000;
JSON
{
  "hex": "#121d48",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 227.778,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24976,
    "c": 0.08156,
    "h": 269
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#121D48
secondary
#817235
accent
#C345E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121D48

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

Preview Lab → · Contrast checker → · Palette generator →

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