#1E3382#1E3382

#1E3382 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.135 H 267.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#1E3382
RGBrgb(30, 51, 130)
HSLhsl(227, 63%, 31%)
HSVhsv(227, 77%, 51%)
CMYKcmyk(76.9%, 60.8%, 0%, 49%)
CIE-LABlab(24.50, 21.69, -46.88)
CIE-LCHlch(24.50, 51.66, 294.83°)
OKLaboklab(35.73% -0.0058 -0.1353)
OKLCHoklch(35.73% 0.135 267.6)
XYZxyz(5.7471, 4.2548, 21.6331)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3382 #826D1E
analogous
#1E6582 #1E3382 #3B1E82
triadic
#1E3382 #821E33 #33821E
tetradic
#1E3382 #821E65 #826D1E #1E823B
square
#1E3382 #821E65 #826D1E #1E823B
split-complementary
#1E3382 #823B1E #65821E
monochromatic
#070C1F #131F50 #1E3382 #2947B4 #4664D4

Accessibility & contrast

On white

11.35
#1E3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1E3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3382
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3382#FFFFFF#000000##FFFFFF
##1E33821.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e3382;
/* rgb */ color: rgb(30, 51, 130);
/* oklch */ color: oklch(35.7% 0.135 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a6aa7',
    500: '#1e3382',
    950: '#000000',
  },
}
SCSS
$custom: #1e3382;
$custom-light: #6a6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3382",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 227.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35732,
    "c": 0.13546,
    "h": 267.6
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#1E3382
secondary
#B59E47
accent
#C342E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E3382

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

Preview Lab → · Contrast checker → · Palette generator →

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