#1E2778#1E2778

#1E2778 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.137 H 271.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#1E2778
RGBrgb(30, 39, 120)
HSLhsl(234, 60%, 29%)
HSVhsv(234, 75%, 47%)
CMYKcmyk(75%, 67.5%, 0%, 52.9%)
CIE-LABlab(20.37, 26.09, -47.29)
CIE-LCHlch(20.37, 54.01, 298.89°)
OKLaboklab(32.4% 0.0033 -0.1367)
OKLCHoklch(32.4% 0.137 271.4)
XYZxyz(4.6500, 3.0827, 18.1156)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2778 #786F1E
analogous
#1E5478 #1E2778 #421E78
triadic
#1E2778 #781E27 #27781E
tetradic
#1E2778 #781E54 #786F1E #1E7842
square
#1E2778 #781E54 #786F1E #1E7842
split-complementary
#1E2778 #78421E #54781E
monochromatic
#060818 #121747 #1E2778 #2A37A9 #414FCF

Accessibility & contrast

On white

12.99
#1E2778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2778
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2778#FFFFFF#000000##FFFFFF
##1E27781.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2778;
/* rgb */ color: rgb(30, 39, 120);
/* oklch */ color: oklch(32.4% 0.137 271.4);
Tailwind
colors: {
  custom: {
    50: '#6861a0',
    500: '#1e2778',
    950: '#000000',
  },
}
SCSS
$custom: #1e2778;
$custom-light: #6861a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2778",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 234,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32404,
    "c": 0.13671,
    "h": 271.4
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#1E2778
secondary
#ACA246
accent
#D345E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1E2778

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

Preview Lab → · Contrast checker → · Palette generator →

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