#1E1E9E#1E1E9E

#1E1E9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.195 H 270.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#1E1E9E
RGBrgb(30, 30, 158)
HSLhsl(240, 68%, 37%)
HSVhsv(240, 81%, 62%)
CMYKcmyk(81%, 81%, 0%, 38%)
CIE-LABlab(22.56, 45.06, -67.42)
CIE-LCHlch(22.56, 81.09, 303.76°)
OKLaboklab(35.19% 0.0016 -0.1952)
OKLCHoklch(35.19% 0.195 270.5)
XYZxyz(7.1692, 3.6724, 32.6721)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E9E #9E9E1E
analogous
#1E5E9E #1E1E9E #5E1E9E
triadic
#1E1E9E #9E1E1E #1E9E1E
tetradic
#1E1E9E #9E1E5E #9E9E1E #1E9E5E
square
#1E1E9E #9E1E5E #9E9E1E #1E9E5E
split-complementary
#1E1E9E #9E5E1E #5E9E1E
monochromatic
#0A0A37 #14146B #1E1E9E #2828D1 #5757DF

Accessibility & contrast

On white

12.11
#1E1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E9E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E9E#FFFFFF#000000##FFFFFF
##1E1E9E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e1e9e;
/* rgb */ color: rgb(30, 30, 158);
/* oklch */ color: oklch(35.2% 0.195 270.5);
Tailwind
colors: {
  custom: {
    50: '#735dbc',
    500: '#1e1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e9e;
$custom-light: #735dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e9e",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3519,
    "c": 0.19521,
    "h": 270.5
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#1E1E9E
secondary
#C3C355
accent
#EB3DEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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