#121E60#121E60

#121E60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.117 H 269.0°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#121E60
RGBrgb(18, 30, 96)
HSLhsl(231, 68%, 22%)
HSVhsv(231, 81%, 38%)
CMYKcmyk(81.3%, 68.7%, 0%, 62.4%)
CIE-LABlab(14.96, 21.41, -40.56)
CIE-LCHlch(14.96, 45.86, 297.83°)
OKLaboklab(27.53% -0.0021 -0.1173)
OKLCHoklch(27.53% 0.117 269)
XYZxyz(2.8243, 1.9014, 11.2822)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E60 #605412
analogous
#124560 #121E60 #2D1260
triadic
#121E60 #60121E #1E6012
tetradic
#121E60 #601245 #605412 #12602D
square
#121E60 #601245 #605412 #12602D
split-complementary
#121E60 #602D12 #456012
monochromatic
#05081A #080E2C #121E60 #1C2E94 #253EC7

Accessibility & contrast

On white

15.21
#121E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#121E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E60
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E60#FFFFFF#000000##FFFFFF
##121E601.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121e60;
/* rgb */ color: rgb(18, 30, 96);
/* oklch */ color: oklch(27.5% 0.117 269.0);
Tailwind
colors: {
  custom: {
    50: '#5e598e',
    500: '#121e60',
    950: '#000000',
  },
}
SCSS
$custom: #121e60;
$custom-light: #5e598e;
$custom-dark: #000000;
JSON
{
  "hex": "#121e60",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 230.769,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27535,
    "c": 0.11733,
    "h": 269
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#121E60
secondary
#988936
accent
#D03DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121E60

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

Preview Lab → · Contrast checker → · Palette generator →

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