#1E1E79#1E1E79

#1E1E79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.149 H 273.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#1E1E79
RGBrgb(30, 30, 121)
HSLhsl(240, 60%, 30%)
HSVhsv(240, 75%, 47%)
CMYKcmyk(75.2%, 75.2%, 0%, 52.5%)
CIE-LABlab(18.30, 32.37, -51.34)
CIE-LCHlch(18.30, 60.69, 302.23°)
OKLaboklab(30.94% 0.009 -0.1485)
OKLCHoklch(30.94% 0.149 273.4)
XYZxyz(4.4497, 2.5846, 18.3498)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E79 #79791E
analogous
#1E4C79 #1E1E79 #4C1E79
triadic
#1E1E79 #791E1E #1E791E
tetradic
#1E1E79 #791E4C #79791E #1E794C
square
#1E1E79 #791E4C #79791E #1E794C
split-complementary
#1E1E79 #794C1E #4C791E
monochromatic
#060619 #121248 #1E1E79 #2A2AAA #4141D0

Accessibility & contrast

On white

13.84
#1E1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E79
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E79#FFFFFF#000000##FFFFFF
##1E1E791.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1e79;
/* rgb */ color: rgb(30, 30, 121);
/* oklch */ color: oklch(30.9% 0.149 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a5ba1',
    500: '#1e1e79',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e79;
$custom-light: #6a5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e79",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30935,
    "c": 0.14878,
    "h": 273.4
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#1E1E79
secondary
#ADAD46
accent
#E344E3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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