#121E68#121E68

#121E68 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.4% C 0.129 H 268.8°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#121E68
RGBrgb(18, 30, 104)
HSLhsl(232, 70%, 24%)
HSVhsv(232, 83%, 41%)
CMYKcmyk(82.7%, 71.2%, 0%, 59.2%)
CIE-LABlab(15.78, 24.66, -44.49)
CIE-LCHlch(15.78, 50.87, 299.00°)
OKLaboklab(28.38% -0.0027 -0.1288)
OKLCHoklch(28.38% 0.129 268.8)
XYZxyz(3.2116, 2.0563, 13.3217)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E68 #685C12
analogous
#124968 #121E68 #311268
triadic
#121E68 #68121E #1E6812
tetradic
#121E68 #681249 #685C12 #126831
square
#121E68 #681249 #685C12 #126831
split-complementary
#121E68 #683112 #496812
monochromatic
#05081A #090F34 #121E68 #1B2D9C #243CD0

Accessibility & contrast

On white

14.88
#121E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#121E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E68
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E68#FFFFFF#000000##FFFFFF
##121E681.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121e68;
/* rgb */ color: rgb(18, 30, 104);
/* oklch */ color: oklch(28.4% 0.129 268.8);
Tailwind
colors: {
  custom: {
    50: '#615a94',
    500: '#121e68',
    950: '#000000',
  },
}
SCSS
$custom: #121e68;
$custom-light: #615a94;
$custom-dark: #000000;
JSON
{
  "hex": "#121e68",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 231.628,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28384,
    "c": 0.12885,
    "h": 268.8
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#121E68
secondary
#A09136
accent
#D43BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121E68

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

Preview Lab → · Contrast checker → · Palette generator →

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