#1E2784#1E2784

#1E2784 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.153 H 270.8°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1E2784
RGBrgb(30, 39, 132)
HSLhsl(235, 63%, 32%)
HSVhsv(235, 77%, 52%)
CMYKcmyk(77.3%, 70.5%, 0%, 48.2%)
CIE-LABlab(21.55, 30.64, -52.96)
CIE-LCHlch(21.55, 61.19, 300.06°)
OKLaboklab(33.62% 0.0022 -0.1532)
OKLCHoklch(33.62% 0.153 270.8)
XYZxyz(5.4244, 3.3924, 22.1942)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2784 #847B1E
analogous
#1E5A84 #1E2784 #481E84
triadic
#1E2784 #841E27 #27841E
tetradic
#1E2784 #841E5A #847B1E #1E8448
square
#1E2784 #841E5A #847B1E #1E8448
split-complementary
#1E2784 #84481E #5A841E
monochromatic
#070A20 #131852 #1E2784 #2936B6 #4754D5

Accessibility & contrast

On white

12.51
#1E2784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2784
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2784#FFFFFF#000000##FFFFFF
##1E27841.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2784;
/* rgb */ color: rgb(30, 39, 132);
/* oklch */ color: oklch(33.6% 0.153 270.8);
Tailwind
colors: {
  custom: {
    50: '#6c61a9',
    500: '#1e2784',
    950: '#000000',
  },
}
SCSS
$custom: #1e2784;
$custom-light: #6c61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2784",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 234.706,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33623,
    "c": 0.15326,
    "h": 270.8
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#1E2784
secondary
#B7AD47
accent
#D842E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2784

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

Preview Lab → · Contrast checker → · Palette generator →

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