#1E2582#1E2582

#1E2582 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.153 H 271.3°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#1E2582
RGBrgb(30, 37, 130)
HSLhsl(236, 63%, 31%)
HSVhsv(236, 77%, 51%)
CMYKcmyk(76.9%, 71.5%, 0%, 49%)
CIE-LABlab(20.87, 31.20, -52.83)
CIE-LCHlch(20.87, 61.35, 300.57°)
OKLaboklab(33.07% 0.0036 -0.1529)
OKLCHoklch(33.07% 0.153 271.3)
XYZxyz(5.2249, 3.2103, 21.4591)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2582 #827B1E
analogous
#1E5782 #1E2582 #491E82
triadic
#1E2582 #821E25 #25821E
tetradic
#1E2582 #821E57 #827B1E #1E8249
square
#1E2582 #821E57 #827B1E #1E8249
split-complementary
#1E2582 #82491E #57821E
monochromatic
#07091F #131750 #1E2582 #2933B4 #4650D4

Accessibility & contrast

On white

12.79
#1E2582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2582
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2582#FFFFFF#000000##FFFFFF
##1E25821.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2582;
/* rgb */ color: rgb(30, 37, 130);
/* oklch */ color: oklch(33.1% 0.153 271.3);
Tailwind
colors: {
  custom: {
    50: '#6b60a7',
    500: '#1e2582',
    950: '#000000',
  },
}
SCSS
$custom: #1e2582;
$custom-light: #6b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2582",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 235.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33066,
    "c": 0.15289,
    "h": 271.3
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#1E2582
secondary
#B5AD47
accent
#DA42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2582

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

Preview Lab → · Contrast checker → · Palette generator →

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