#1E3882#1E3882

#1E3882 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.129 H 265.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#1E3882
RGBrgb(30, 56, 130)
HSLhsl(224, 63%, 31%)
HSVhsv(224, 77%, 51%)
CMYKcmyk(76.9%, 56.9%, 0%, 49%)
CIE-LABlab(25.91, 18.20, -44.59)
CIE-LCHlch(25.91, 48.16, 292.20°)
OKLaboklab(36.79% -0.0097 -0.1285)
OKLCHoklch(36.79% 0.129 265.7)
XYZxyz(5.9774, 4.7154, 21.7099)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3882 #82681E
analogous
#1E6A82 #1E3882 #361E82
triadic
#1E3882 #821E38 #38821E
tetradic
#1E3882 #821E6A #82681E #1E8236
square
#1E3882 #821E6A #82681E #1E8236
split-complementary
#1E3882 #82361E #6A821E
monochromatic
#070D1F #132350 #1E3882 #294DB4 #466BD4

Accessibility & contrast

On white

10.81
#1E3882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1E3882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3882
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3882#FFFFFF#000000##FFFFFF
##1E38821.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e3882;
/* rgb */ color: rgb(30, 56, 130);
/* oklch */ color: oklch(36.8% 0.129 265.7);
Tailwind
colors: {
  custom: {
    50: '#696ea7',
    500: '#1e3882',
    950: '#000000',
  },
}
SCSS
$custom: #1e3882;
$custom-light: #696ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3882",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 224.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36791,
    "c": 0.12888,
    "h": 265.7
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#1E3882
secondary
#B59847
accent
#BB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E3882

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

Preview Lab → · Contrast checker → · Palette generator →

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