#1E1A79#1E1A79

#1E1A79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.153 H 274.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#1E1A79
RGBrgb(30, 26, 121)
HSLhsl(243, 65%, 29%)
HSVhsv(243, 79%, 47%)
CMYKcmyk(75.2%, 78.5%, 0%, 52.5%)
CIE-LABlab(17.44, 34.79, -52.76)
CIE-LCHlch(17.44, 63.20, 303.40°)
OKLaboklab(30.32% 0.0111 -0.1526)
OKLCHoklch(30.32% 0.153 274.2)
XYZxyz(4.3549, 2.3949, 18.3182)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A79 #75791A
analogous
#1A4679 #1E1A79 #4E1A79
triadic
#1E1A79 #791E1A #1A791E
tetradic
#1E1A79 #791A46 #75791A #1A794E
square
#1E1A79 #791A46 #75791A #1A794E
split-complementary
#1E1A79 #794E1A #46791A
monochromatic
#060519 #120F47 #1E1A79 #2A25AB #4039D4

Accessibility & contrast

On white

14.20
#1E1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A79
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A79#FFFFFF#000000##FFFFFF
##1E1A791.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1a79;
/* rgb */ color: rgb(30, 26, 121);
/* oklch */ color: oklch(30.3% 0.153 274.2);
Tailwind
colors: {
  custom: {
    50: '#6a58a1',
    500: '#1e1a79',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a79;
$custom-light: #6a58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a79",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 242.526,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30324,
    "c": 0.15301,
    "h": 274.2
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#1E1A79
secondary
#A9AD41
accent
#E840E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1E1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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