#1E1E8E#1E1E8E

#1E1E8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.176 H 271.6°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#1E1E8E
RGBrgb(30, 30, 142)
HSLhsl(240, 65%, 34%)
HSVhsv(240, 79%, 56%)
CMYKcmyk(78.9%, 78.9%, 0%, 44.3%)
CIE-LABlab(20.66, 39.73, -60.69)
CIE-LCHlch(20.66, 72.54, 303.21°)
OKLaboklab(33.31% 0.0049 -0.1757)
OKLCHoklch(33.31% 0.176 271.6)
XYZxyz(5.8805, 3.1569, 25.8854)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E8E #8E8E1E
analogous
#1E568E #1E1E8E #561E8E
triadic
#1E1E8E #8E1E1E #1E8E1E
tetradic
#1E1E8E #8E1E56 #8E8E1E #1E8E56
square
#1E1E8E #8E1E56 #8E8E1E #1E8E56
split-complementary
#1E1E8E #8E561E #568E1E
monochromatic
#090929 #13135B #1E1E8E #2929C1 #4D4DD9

Accessibility & contrast

On white

12.87
#1E1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E1E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E8E
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E8E#FFFFFF#000000##FFFFFF
##1E1E8E1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e1e8e;
/* rgb */ color: rgb(30, 30, 142);
/* oklch */ color: oklch(33.3% 0.176 271.6);
Tailwind
colors: {
  custom: {
    50: '#6f5cb0',
    500: '#1e1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e8e;
$custom-light: #6f5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e8e",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3331,
    "c": 0.17576,
    "h": 271.6
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#1E1E8E
secondary
#BCBC4C
accent
#E840E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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