#1E2780#1E2780

#1E2780 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.148 H 271.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#1E2780
RGBrgb(30, 39, 128)
HSLhsl(234, 62%, 31%)
HSVhsv(234, 77%, 50%)
CMYKcmyk(76.6%, 69.5%, 0%, 49.8%)
CIE-LABlab(21.15, 29.14, -51.10)
CIE-LCHlch(21.15, 58.82, 299.70°)
OKLaboklab(33.21% 0.0026 -0.1478)
OKLCHoklch(33.21% 0.148 271)
XYZxyz(5.1559, 3.2850, 20.7802)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2780 #80771E
analogous
#1E5880 #1E2780 #461E80
triadic
#1E2780 #801E27 #27801E
tetradic
#1E2780 #801E58 #80771E #1E8046
square
#1E2780 #801E58 #80771E #1E8046
split-complementary
#1E2780 #80461E #58801E
monochromatic
#07091D #12184E #1E2780 #2A36B2 #4552D3

Accessibility & contrast

On white

12.67
#1E2780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E2780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2780
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2780#FFFFFF#000000##FFFFFF
##1E27801.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2780;
/* rgb */ color: rgb(30, 39, 128);
/* oklch */ color: oklch(33.2% 0.148 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a61a6',
    500: '#1e2780',
    950: '#000000',
  },
}
SCSS
$custom: #1e2780;
$custom-light: #6a61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2780",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 234.49,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3321,
    "c": 0.14782,
    "h": 271
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#1E2780
secondary
#B3A947
accent
#D643E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #1E2780

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

Preview Lab → · Contrast checker → · Palette generator →

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