#1E3282#1E3282

#1E3282 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.137 H 267.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1E3282
RGBrgb(30, 50, 130)
HSLhsl(228, 63%, 31%)
HSVhsv(228, 77%, 51%)
CMYKcmyk(76.9%, 61.5%, 0%, 49%)
CIE-LABlab(24.22, 22.39, -47.33)
CIE-LCHlch(24.22, 52.36, 295.32°)
OKLaboklab(35.53% -0.005 -0.1367)
OKLCHoklch(35.53% 0.137 267.9)
XYZxyz(5.7039, 4.1683, 21.6187)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3282 #826E1E
analogous
#1E6482 #1E3282 #3C1E82
triadic
#1E3282 #821E32 #32821E
tetradic
#1E3282 #821E64 #826E1E #1E823C
square
#1E3282 #821E64 #826E1E #1E823C
split-complementary
#1E3282 #823C1E #64821E
monochromatic
#070C1F #131F50 #1E3282 #2945B4 #4663D4

Accessibility & contrast

On white

11.45
#1E3282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E3282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3282
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3282#FFFFFF#000000##FFFFFF
##1E32821.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e3282;
/* rgb */ color: rgb(30, 50, 130);
/* oklch */ color: oklch(35.5% 0.137 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a69a7',
    500: '#1e3282',
    950: '#000000',
  },
}
SCSS
$custom: #1e3282;
$custom-light: #6a69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3282",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 228,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35527,
    "c": 0.13676,
    "h": 267.9
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#1E3282
secondary
#B59F47
accent
#C542E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E3282

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

Preview Lab → · Contrast checker → · Palette generator →

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