#1E3780#1E3780

#1E3780 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.127 H 265.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1E3780
RGBrgb(30, 55, 128)
HSLhsl(225, 62%, 31%)
HSVhsv(225, 77%, 50%)
CMYKcmyk(76.6%, 57%, 0%, 49.8%)
CIE-LABlab(25.46, 18.10, -44.06)
CIE-LCHlch(25.46, 47.63, 292.33°)
OKLaboklab(36.41% -0.009 -0.127)
OKLCHoklch(36.41% 0.127 265.9)
XYZxyz(5.7965, 4.5663, 20.9938)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3780 #80671E
analogous
#1E6880 #1E3780 #361E80
triadic
#1E3780 #801E37 #37801E
tetradic
#1E3780 #801E68 #80671E #1E8036
square
#1E3780 #801E68 #80671E #1E8036
split-complementary
#1E3780 #80361E #68801E
monochromatic
#070C1D #12224E #1E3780 #2A4CB2 #4569D3

Accessibility & contrast

On white

10.98
#1E3780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E3780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3780
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3780#FFFFFF#000000##FFFFFF
##1E37801.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3780;
/* rgb */ color: rgb(30, 55, 128);
/* oklch */ color: oklch(36.4% 0.127 265.9);
Tailwind
colors: {
  custom: {
    50: '#696da5',
    500: '#1e3780',
    950: '#000000',
  },
}
SCSS
$custom: #1e3780;
$custom-light: #696da5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3780",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 224.694,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36405,
    "c": 0.12729,
    "h": 265.9
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#1E3780
secondary
#B39747
accent
#BC43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E3780

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

Preview Lab → · Contrast checker → · Palette generator →

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