#1E2586#1E2586

#1E2586 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.158 H 271.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#1E2586
RGBrgb(30, 37, 134)
HSLhsl(236, 63%, 32%)
HSVhsv(236, 78%, 53%)
CMYKcmyk(77.6%, 72.4%, 0%, 47.5%)
CIE-LABlab(21.28, 32.68, -54.66)
CIE-LCHlch(21.28, 63.69, 300.88°)
OKLaboklab(33.49% 0.0031 -0.1582)
OKLCHoklch(33.49% 0.158 271.1)
XYZxyz(5.4986, 3.3198, 22.9006)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2586 #867F1E
analogous
#1E5986 #1E2586 #4B1E86
triadic
#1E2586 #861E25 #25861E
tetradic
#1E2586 #861E59 #867F1E #1E864B
square
#1E2586 #861E59 #867F1E #1E864B
split-complementary
#1E2586 #864B1E #59861E
monochromatic
#080922 #131754 #1E2586 #2933B8 #4852D6

Accessibility & contrast

On white

12.62
#1E2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E2586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2586
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2586#FFFFFF#000000##FFFFFF
##1E25861.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2586;
/* rgb */ color: rgb(30, 37, 134);
/* oklch */ color: oklch(33.5% 0.158 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c60aa',
    500: '#1e2586',
    950: '#000000',
  },
}
SCSS
$custom: #1e2586;
$custom-light: #6c60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2586",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 235.962,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3349,
    "c": 0.15824,
    "h": 271.1
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#1E2586
secondary
#B8B147
accent
#DB41E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2586

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

Preview Lab → · Contrast checker → · Palette generator →

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