#1E1478#1E1478

#1E1478 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.157 H 275.1°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#1E1478
RGBrgb(30, 20, 120)
HSLhsl(246, 71%, 27%)
HSVhsv(246, 83%, 47%)
CMYKcmyk(75%, 83.3%, 0%, 52.9%)
CIE-LABlab(16.17, 37.77, -54.22)
CIE-LCHlch(16.17, 66.08, 304.86°)
OKLaboklab(29.4% 0.0141 -0.1568)
OKLCHoklch(29.4% 0.157 275.1)
XYZxyz(4.1746, 2.1320, 17.9572)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1478 #6E7814
analogous
#143C78 #1E1478 #501478
triadic
#1E1478 #781E14 #14781E
tetradic
#1E1478 #78143C #6E7814 #147850
square
#1E1478 #78143C #6E7814 #147850
split-complementary
#1E1478 #785014 #3C7814
monochromatic
#07041A #110B44 #1E1478 #2B1DAC #3C2BDC

Accessibility & contrast

On white

14.72
#1E1478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E1478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1478
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1478#FFFFFF#000000##FFFFFF
##1E14781.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1478;
/* rgb */ color: rgb(30, 20, 120);
/* oklch */ color: oklch(29.4% 0.157 275.1);
Tailwind
colors: {
  custom: {
    50: '#6a55a0',
    500: '#1e1478',
    950: '#000000',
  },
}
SCSS
$custom: #1e1478;
$custom-light: #6a55a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1478",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 246,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29399,
    "c": 0.15741,
    "h": 275.1
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#1E1478
secondary
#A2AE3A
accent
#EE3ADC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1478

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

Preview Lab → · Contrast checker → · Palette generator →

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