#121E50#121E50

#121E50 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.093 H 268.8°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#121E50
RGBrgb(18, 30, 80)
HSLhsl(228, 63%, 19%)
HSVhsv(228, 78%, 31%)
CMYKcmyk(77.5%, 62.5%, 0%, 68.6%)
CIE-LABlab(13.45, 14.72, -32.25)
CIE-LCHlch(13.45, 35.45, 294.53°)
OKLaboklab(25.95% -0.002 -0.0929)
OKLCHoklch(25.95% 0.093 268.8)
XYZxyz(2.1612, 1.6361, 7.7898)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E50 #504412
analogous
#123D50 #121E50 #251250
triadic
#121E50 #50121E #1E5012
tetradic
#121E50 #50123D #504412 #125025
square
#121E50 #50123D #504412 #125025
split-complementary
#121E50 #502512 #3D5012
monochromatic
#060919 #070B1E #121E50 #1D3182 #2843B4

Accessibility & contrast

On white

15.82
#121E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#121E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E50
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E50#FFFFFF#000000##FFFFFF
##121E501.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121e50;
/* rgb */ color: rgb(18, 30, 80);
/* oklch */ color: oklch(25.9% 0.093 268.8);
Tailwind
colors: {
  custom: {
    50: '#5a5982',
    500: '#121e50',
    950: '#000000',
  },
}
SCSS
$custom: #121e50;
$custom-light: #5a5982;
$custom-dark: #000000;
JSON
{
  "hex": "#121e50",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 80
  },
  "hsl": {
    "h": 228.387,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25945,
    "c": 0.09297,
    "h": 268.8
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#121E50
secondary
#897935
accent
#C641E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #121E50

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

Preview Lab → · Contrast checker → · Palette generator →

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