#1E2782#1E2782

#1E2782 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.151 H 270.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1E2782
RGBrgb(30, 39, 130)
HSLhsl(235, 63%, 31%)
HSVhsv(235, 77%, 51%)
CMYKcmyk(76.9%, 70%, 0%, 49%)
CIE-LABlab(21.35, 29.89, -52.03)
CIE-LCHlch(21.35, 60.01, 299.88°)
OKLaboklab(33.42% 0.0024 -0.1505)
OKLCHoklch(33.42% 0.151 270.9)
XYZxyz(5.2888, 3.3382, 21.4804)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2782 #82791E
analogous
#1E5982 #1E2782 #471E82
triadic
#1E2782 #821E27 #27821E
tetradic
#1E2782 #821E59 #82791E #1E8247
square
#1E2782 #821E59 #82791E #1E8247
split-complementary
#1E2782 #82471E #59821E
monochromatic
#07091F #131850 #1E2782 #2936B4 #4653D4

Accessibility & contrast

On white

12.59
#1E2782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2782
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2782#FFFFFF#000000##FFFFFF
##1E27821.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2782;
/* rgb */ color: rgb(30, 39, 130);
/* oklch */ color: oklch(33.4% 0.151 270.9);
Tailwind
colors: {
  custom: {
    50: '#6b61a7',
    500: '#1e2782',
    950: '#000000',
  },
}
SCSS
$custom: #1e2782;
$custom-light: #6b61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2782",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 234.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33416,
    "c": 0.15055,
    "h": 270.9
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#1E2782
secondary
#B5AB47
accent
#D742E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2782

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

Preview Lab → · Contrast checker → · Palette generator →

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