#1E1A78#1E1A78

#1E1A78 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.152 H 274.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#1E1A78
RGBrgb(30, 26, 120)
HSLhsl(243, 64%, 29%)
HSVhsv(243, 78%, 47%)
CMYKcmyk(75%, 78.3%, 0%, 52.9%)
CIE-LABlab(17.32, 34.45, -52.31)
CIE-LCHlch(17.32, 62.63, 303.37°)
OKLaboklab(30.21% 0.0113 -0.1513)
OKLCHoklch(30.21% 0.152 274.3)
XYZxyz(4.2939, 2.3704, 17.9969)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A78 #74781A
analogous
#1A4578 #1E1A78 #4D1A78
triadic
#1E1A78 #781E1A #1A781E
tetradic
#1E1A78 #781A45 #74781A #1A784D
square
#1E1A78 #781A45 #74781A #1A784D
split-complementary
#1E1A78 #784D1A #45781A
monochromatic
#060519 #110F46 #1E1A78 #2B25AA #3F38D4

Accessibility & contrast

On white

14.25
#1E1A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E1A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A78
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A78#FFFFFF#000000##FFFFFF
##1E1A781.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1a78;
/* rgb */ color: rgb(30, 26, 120);
/* oklch */ color: oklch(30.2% 0.152 274.3);
Tailwind
colors: {
  custom: {
    50: '#6a58a0',
    500: '#1e1a78',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a78;
$custom-light: #6a58a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a78",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 242.553,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3021,
    "c": 0.15172,
    "h": 274.3
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#1E1A78
secondary
#A8AC41
accent
#E740E0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1E1A78

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

Preview Lab → · Contrast checker → · Palette generator →

#1E1A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva