#1E1E80#1E1E80

#1E1E80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.158 H 272.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1E1E80
RGBrgb(30, 30, 128)
HSLhsl(240, 62%, 31%)
HSVhsv(240, 77%, 50%)
CMYKcmyk(76.6%, 76.6%, 0%, 49.8%)
CIE-LABlab(19.07, 34.87, -54.53)
CIE-LCHlch(19.07, 64.73, 302.60°)
OKLaboklab(31.71% 0.0077 -0.1578)
OKLCHoklch(31.71% 0.158 272.8)
XYZxyz(4.8947, 2.7626, 20.6932)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E80 #80801E
analogous
#1E4F80 #1E1E80 #4F1E80
triadic
#1E1E80 #801E1E #1E801E
tetradic
#1E1E80 #801E4F #80801E #1E804F
square
#1E1E80 #801E4F #80801E #1E804F
split-complementary
#1E1E80 #804F1E #4F801E
monochromatic
#07071D #12124E #1E1E80 #2A2AB2 #4545D3

Accessibility & contrast

On white

13.53
#1E1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E80
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E80#FFFFFF#000000##FFFFFF
##1E1E801.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1e80;
/* rgb */ color: rgb(30, 30, 128);
/* oklch */ color: oklch(31.7% 0.158 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b5ba6',
    500: '#1e1e80',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e80;
$custom-light: #6b5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e80",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31713,
    "c": 0.15798,
    "h": 272.8
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#1E1E80
secondary
#B3B347
accent
#E543E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #1E1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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