#1E1E8A#1E1E8A

#1E1E8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.171 H 271.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1E1E8A
RGBrgb(30, 30, 138)
HSLhsl(240, 64%, 33%)
HSVhsv(240, 78%, 54%)
CMYKcmyk(78.3%, 78.3%, 0%, 45.9%)
CIE-LABlab(20.20, 38.36, -58.96)
CIE-LCHlch(20.20, 70.34, 303.05°)
OKLaboklab(32.85% 0.0057 -0.1707)
OKLCHoklch(32.85% 0.171 271.9)
XYZxyz(5.5856, 3.0389, 24.3320)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E8A #8A8A1E
analogous
#1E548A #1E1E8A #541E8A
triadic
#1E1E8A #8A1E1E #1E8A1E
tetradic
#1E1E8A #8A1E54 #8A8A1E #1E8A54
square
#1E1E8A #8A1E54 #8A8A1E #1E8A54
split-complementary
#1E1E8A #8A541E #548A1E
monochromatic
#080825 #131358 #1E1E8A #2929BC #4B4BD8

Accessibility & contrast

On white

13.06
#1E1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E8A
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E8A#FFFFFF#000000##FFFFFF
##1E1E8A1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1e8a;
/* rgb */ color: rgb(30, 30, 138);
/* oklch */ color: oklch(32.8% 0.171 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e5cad',
    500: '#1e1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e8a;
$custom-light: #6e5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e8a",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32849,
    "c": 0.17075,
    "h": 271.9
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#1E1E8A
secondary
#BABA4A
accent
#E741E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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