#121E72#121E72

#121E72 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.143 H 268.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#121E72
RGBrgb(18, 30, 114)
HSLhsl(233, 73%, 26%)
HSVhsv(233, 84%, 45%)
CMYKcmyk(84.2%, 73.7%, 0%, 55.3%)
CIE-LABlab(16.85, 28.61, -49.24)
CIE-LCHlch(16.85, 56.95, 300.16°)
OKLaboklab(29.49% -0.0036 -0.1427)
OKLCHoklch(29.49% 0.143 268.5)
XYZxyz(3.7499, 2.2716, 16.1572)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E72 #726612
analogous
#124E72 #121E72 #361272
triadic
#121E72 #72121E #1E7212
tetradic
#121E72 #72124E #726612 #127236
square
#121E72 #72124E #726612 #127236
split-complementary
#121E72 #723612 #4E7212
monochromatic
#04071A #0A103D #121E72 #1A2CA7 #233ADC

Accessibility & contrast

On white

14.44
#121E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#121E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E72
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E72#FFFFFF#000000##FFFFFF
##121E721.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #121e72;
/* rgb */ color: rgb(18, 30, 114);
/* oklch */ color: oklch(29.5% 0.143 268.5);
Tailwind
colors: {
  custom: {
    50: '#645a9c',
    500: '#121e72',
    950: '#000000',
  },
}
SCSS
$custom: #121e72;
$custom-light: #645a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#121e72",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 232.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29485,
    "c": 0.14271,
    "h": 268.5
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#121E72
secondary
#A99B37
accent
#D938EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #121E72

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

Preview Lab → · Contrast checker → · Palette generator →

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