#1E2686#1E2686

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

Color values

HEX#1E2686
RGBrgb(30, 38, 134)
HSLhsl(235, 63%, 32%)
HSVhsv(235, 78%, 53%)
CMYKcmyk(77.6%, 71.6%, 0%, 47.5%)
CIE-LABlab(21.52, 32.04, -54.27)
CIE-LCHlch(21.52, 63.02, 300.55°)
OKLaboklab(33.66% 0.0026 -0.1571)
OKLCHoklch(33.66% 0.157 270.9)
XYZxyz(5.5301, 3.3829, 22.9111)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2686 #867E1E
analogous
#1E5A86 #1E2686 #4A1E86
triadic
#1E2686 #861E26 #26861E
tetradic
#1E2686 #861E5A #867E1E #1E864A
square
#1E2686 #861E5A #867E1E #1E864A
split-complementary
#1E2686 #864A1E #5A861E
monochromatic
#080A22 #131854 #1E2686 #2934B8 #4853D6

Accessibility & contrast

On white

12.53
#1E2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2686
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2686#FFFFFF#000000##FFFFFF
##1E26861.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2686;
/* rgb */ color: rgb(30, 38, 134);
/* oklch */ color: oklch(33.7% 0.157 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c61aa',
    500: '#1e2686',
    950: '#000000',
  },
}
SCSS
$custom: #1e2686;
$custom-light: #6c61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2686",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 235.385,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.1571,
    "h": 270.9
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#1E2686
secondary
#B8B047
accent
#DA41E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2686

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

Preview Lab → · Contrast checker → · Palette generator →

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