#1E2882#1E2882

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

Color values

HEX#1E2882
RGBrgb(30, 40, 130)
HSLhsl(234, 63%, 31%)
HSVhsv(234, 77%, 51%)
CMYKcmyk(76.9%, 69.2%, 0%, 49%)
CIE-LABlab(21.60, 29.23, -51.63)
CIE-LCHlch(21.60, 59.33, 299.52°)
OKLaboklab(33.6% 0.0018 -0.1493)
OKLCHoklch(33.6% 0.149 270.7)
XYZxyz(5.3221, 3.4047, 21.4915)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2882 #82781E
analogous
#1E5A82 #1E2882 #461E82
triadic
#1E2882 #821E28 #28821E
tetradic
#1E2882 #821E5A #82781E #1E8246
square
#1E2882 #821E5A #82781E #1E8246
split-complementary
#1E2882 #82461E #5A821E
monochromatic
#07091F #131950 #1E2882 #2937B4 #4654D4

Accessibility & contrast

On white

12.49
#1E2882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2882
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2882#FFFFFF#000000##FFFFFF
##1E28821.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2882;
/* rgb */ color: rgb(30, 40, 130);
/* oklch */ color: oklch(33.6% 0.149 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b62a7',
    500: '#1e2882',
    950: '#000000',
  },
}
SCSS
$custom: #1e2882;
$custom-light: #6b62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2882",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 234,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33595,
    "c": 0.14935,
    "h": 270.7
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#1E2882
secondary
#B5AA47
accent
#D542E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2882

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

Preview Lab → · Contrast checker → · Palette generator →

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