#121E66#121E66

#121E66 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.126 H 268.9°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#121E66
RGBrgb(18, 30, 102)
HSLhsl(231, 70%, 24%)
HSVhsv(231, 82%, 40%)
CMYKcmyk(82.4%, 70.6%, 0%, 60%)
CIE-LABlab(15.57, 23.86, -43.52)
CIE-LCHlch(15.57, 49.63, 298.73°)
OKLaboklab(28.17% -0.0025 -0.126)
OKLCHoklch(28.17% 0.126 268.9)
XYZxyz(3.1112, 2.0161, 12.7930)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E66 #665A12
analogous
#124866 #121E66 #301266
triadic
#121E66 #66121E #1E6612
tetradic
#121E66 #661248 #665A12 #126630
square
#121E66 #661248 #665A12 #126630
split-complementary
#121E66 #663012 #486612
monochromatic
#05081A #090F32 #121E66 #1B2D9A #243DCE

Accessibility & contrast

On white

14.97
#121E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#121E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E66
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E66#FFFFFF#000000##FFFFFF
##121E661.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121e66;
/* rgb */ color: rgb(18, 30, 102);
/* oklch */ color: oklch(28.2% 0.126 268.9);
Tailwind
colors: {
  custom: {
    50: '#605992',
    500: '#121e66',
    950: '#000000',
  },
}
SCSS
$custom: #121e66;
$custom-light: #605992;
$custom-dark: #000000;
JSON
{
  "hex": "#121e66",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 231.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28169,
    "c": 0.12601,
    "h": 268.9
  },
  "luminance": 0.02016
}

Semantic roles & 50–950 ramp

primary
#121E66
secondary
#9E8F36
accent
#D33BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121E66

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

Preview Lab → · Contrast checker → · Palette generator →

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