#121E48#121E48

#121E48 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.080 H 268.2°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#121E48
RGBrgb(18, 30, 72)
HSLhsl(227, 60%, 18%)
HSVhsv(227, 75%, 28%)
CMYKcmyk(75%, 58.3%, 0%, 71.8%)
CIE-LABlab(12.76, 11.31, -27.86)
CIE-LCHlch(12.76, 30.07, 292.09°)
OKLaboklab(25.22% -0.0026 -0.08)
OKLCHoklch(25.22% 0.08 268.2)
XYZxyz(1.8830, 1.5248, 6.3247)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E48 #483C12
analogous
#123948 #121E48 #211248
triadic
#121E48 #48121E #1E4812
tetradic
#121E48 #481239 #483C12 #124821
square
#121E48 #481239 #483C12 #124821
split-complementary
#121E48 #482112 #394812
monochromatic
#060A18 #060A18 #121E48 #1E3279 #2A47AA

Accessibility & contrast

On white

16.09
#121E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E48
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E48#FFFFFF#000000##FFFFFF
##121E481.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042449
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121e48;
/* rgb */ color: rgb(18, 30, 72);
/* oklch */ color: oklch(25.2% 0.080 268.2);
Tailwind
colors: {
  custom: {
    50: '#58597b',
    500: '#121e48',
    950: '#000000',
  },
}
SCSS
$custom: #121e48;
$custom-light: #58597b;
$custom-dark: #000000;
JSON
{
  "hex": "#121e48",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 226.667,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25215,
    "c": 0.08007,
    "h": 268.2
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#121E48
secondary
#817035
accent
#C045E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121E48

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

Preview Lab → · Contrast checker → · Palette generator →

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