#121E64#121E64

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

Color values

HEX#121E64
RGBrgb(18, 30, 100)
HSLhsl(231, 69%, 23%)
HSVhsv(231, 82%, 39%)
CMYKcmyk(82%, 70%, 0%, 60.8%)
CIE-LABlab(15.37, 23.05, -42.54)
CIE-LCHlch(15.37, 48.39, 298.45°)
OKLaboklab(27.96% -0.0024 -0.1231)
OKLCHoklch(27.96% 0.123 268.9)
XYZxyz(3.0132, 1.9769, 12.2769)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E64 #645812
analogous
#124764 #121E64 #2F1264
triadic
#121E64 #64121E #1E6412
tetradic
#121E64 #641247 #645812 #12642F
square
#121E64 #641247 #645812 #12642F
split-complementary
#121E64 #642F12 #476412
monochromatic
#05081A #090E30 #121E64 #1B2E98 #253DCC

Accessibility & contrast

On white

15.05
#121E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E64
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E64#FFFFFF#000000##FFFFFF
##121E641.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121e64;
/* rgb */ color: rgb(18, 30, 100);
/* oklch */ color: oklch(28.0% 0.123 268.9);
Tailwind
colors: {
  custom: {
    50: '#605991',
    500: '#121e64',
    950: '#000000',
  },
}
SCSS
$custom: #121e64;
$custom-light: #605991;
$custom-dark: #000000;
JSON
{
  "hex": "#121e64",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 100
  },
  "hsl": {
    "h": 231.22,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27956,
    "c": 0.12314,
    "h": 268.9
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#121E64
secondary
#9C8D36
accent
#D23BEC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05030D
muted
#79787E

Preview Lab

Preview with #121E64

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

Preview Lab → · Contrast checker → · Palette generator →

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