#1E2786#1E2786

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

Color values

HEX#1E2786
RGBrgb(30, 39, 134)
HSLhsl(235, 63%, 32%)
HSVhsv(235, 78%, 53%)
CMYKcmyk(77.6%, 70.9%, 0%, 47.5%)
CIE-LABlab(21.75, 31.39, -53.88)
CIE-LCHlch(21.75, 62.36, 300.22°)
OKLaboklab(33.83% 0.002 -0.1559)
OKLCHoklch(33.83% 0.156 270.7)
XYZxyz(5.5626, 3.4477, 22.9219)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2786 #867D1E
analogous
#1E5B86 #1E2786 #491E86
triadic
#1E2786 #861E27 #27861E
tetradic
#1E2786 #861E5B #867D1E #1E8649
square
#1E2786 #861E5B #867D1E #1E8649
split-complementary
#1E2786 #86491E #5B861E
monochromatic
#080A22 #131854 #1E2786 #2936B8 #4855D6

Accessibility & contrast

On white

12.43
#1E2786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2786
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2786#FFFFFF#000000##FFFFFF
##1E27861.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.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: #1e2786;
/* rgb */ color: rgb(30, 39, 134);
/* oklch */ color: oklch(33.8% 0.156 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c61aa',
    500: '#1e2786',
    950: '#000000',
  },
}
SCSS
$custom: #1e2786;
$custom-light: #6c61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2786",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 234.808,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33831,
    "c": 0.15595,
    "h": 270.7
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#1E2786
secondary
#B8AF47
accent
#D841E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2786

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

Preview Lab → · Contrast checker → · Palette generator →

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