#1E2687#1E2687

#1E2687 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.158 H 270.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#1E2687
RGBrgb(30, 38, 135)
HSLhsl(235, 64%, 32%)
HSVhsv(235, 78%, 53%)
CMYKcmyk(77.8%, 71.9%, 0%, 47.1%)
CIE-LABlab(21.62, 32.41, -54.73)
CIE-LCHlch(21.62, 63.61, 300.63°)
OKLaboklab(33.77% 0.0024 -0.1584)
OKLCHoklch(33.77% 0.158 270.9)
XYZxyz(5.6002, 3.4109, 23.2802)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2687 #877F1E
analogous
#1E5A87 #1E2687 #4B1E87
triadic
#1E2687 #871E26 #26871E
tetradic
#1E2687 #871E5A #877F1E #1E874B
square
#1E2687 #871E5A #877F1E #1E874B
split-complementary
#1E2687 #874B1E #5A871E
monochromatic
#080A23 #131855 #1E2687 #2934B9 #4954D7

Accessibility & contrast

On white

12.48
#1E2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2687
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2687#FFFFFF#000000##FFFFFF
##1E26871.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2687;
/* rgb */ color: rgb(30, 38, 135);
/* oklch */ color: oklch(33.8% 0.158 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c61ab',
    500: '#1e2687',
    950: '#000000',
  },
}
SCSS
$custom: #1e2687;
$custom-light: #6c61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2687",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 235.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33765,
    "c": 0.15844,
    "h": 270.9
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#1E2687
secondary
#B9B048
accent
#DA41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2687

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

Preview Lab → · Contrast checker → · Palette generator →

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