#1E2087#1E2087

#1E2087 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.165 H 271.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2087
RGBrgb(30, 32, 135)
HSLhsl(239, 64%, 32%)
HSVhsv(239, 78%, 53%)
CMYKcmyk(77.8%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.27, 36.14, -56.95)
CIE-LCHlch(20.27, 67.45, 302.40°)
OKLaboklab(32.8% 0.0054 -0.1649)
OKLCHoklch(32.8% 0.165 271.9)
XYZxyz(5.4236, 3.0577, 23.2213)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2087 #87851E
analogous
#1E5587 #1E2087 #501E87
triadic
#1E2087 #871E20 #20871E
tetradic
#1E2087 #871E55 #87851E #1E8750
square
#1E2087 #871E55 #87851E #1E8750
split-complementary
#1E2087 #87501E #55871E
monochromatic
#080823 #131455 #1E2087 #292CB9 #494CD7

Accessibility & contrast

On white

13.03
#1E2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2087
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2087#FFFFFF#000000##FFFFFF
##1E20871.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2087;
/* rgb */ color: rgb(30, 32, 135);
/* oklch */ color: oklch(32.8% 0.165 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d5dab',
    500: '#1e2087',
    950: '#000000',
  },
}
SCSS
$custom: #1e2087;
$custom-light: #6d5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2087",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 238.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32801,
    "c": 0.16495,
    "h": 271.9
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#1E2087
secondary
#B9B748
accent
#E441E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2087

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

Preview Lab → · Contrast checker → · Palette generator →

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