#1E1585#1E1585

#1E1585 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.173 H 273.4°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#1E1585
RGBrgb(30, 21, 133)
HSLhsl(245, 73%, 30%)
HSVhsv(245, 84%, 52%)
CMYKcmyk(77.4%, 84.2%, 0%, 47.8%)
CIE-LABlab(17.94, 41.49, -59.55)
CIE-LCHlch(17.94, 72.58, 304.86°)
OKLaboklab(31.1% 0.0101 -0.1723)
OKLCHoklch(31.1% 0.173 273.4)
XYZxyz(5.0358, 2.5053, 22.4039)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1585 #7C8515
analogous
#154485 #1E1585 #561585
triadic
#1E1585 #851E15 #15851E
tetradic
#1E1585 #851544 #7C8515 #158556
square
#1E1585 #851544 #7C8515 #158556
split-complementary
#1E1585 #855615 #448515
monochromatic
#06041B #120D50 #1E1585 #2A1DBA #4335DF

Accessibility & contrast

On white

13.99
#1E1585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1585
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1585#FFFFFF#000000##FFFFFF
##1E15851.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003188
Deuteranopia (green-blind)
#002683
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1585;
/* rgb */ color: rgb(30, 21, 133);
/* oklch */ color: oklch(31.1% 0.173 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e56aa',
    500: '#1e1585',
    950: '#000000',
  },
}
SCSS
$custom: #1e1585;
$custom-light: #6e56aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1585",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 133
  },
  "hsl": {
    "h": 244.821,
    "s": 72.727,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31097,
    "c": 0.17256,
    "h": 273.4
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#1E1585
secondary
#AFB93C
accent
#EF38E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1585

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

Preview Lab → · Contrast checker → · Palette generator →

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