#1E1785#1E1785

#1E1785 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.171 H 273.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1E1785
RGBrgb(30, 23, 133)
HSLhsl(244, 71%, 31%)
HSVhsv(244, 83%, 52%)
CMYKcmyk(77.4%, 82.7%, 0%, 47.8%)
CIE-LABlab(18.28, 40.49, -58.99)
CIE-LCHlch(18.28, 71.55, 304.47°)
OKLaboklab(31.33% 0.0095 -0.1706)
OKLCHoklch(31.33% 0.171 273.2)
XYZxyz(5.0740, 2.5817, 22.4167)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1785 #7E8517
analogous
#174785 #1E1785 #551785
triadic
#1E1785 #851E17 #17851E
tetradic
#1E1785 #851747 #7E8517 #178555
square
#1E1785 #851747 #7E8517 #178555
split-complementary
#1E1785 #855517 #478517
monochromatic
#06051D #120E51 #1E1785 #2A20B9 #443ADD

Accessibility & contrast

On white

13.85
#1E1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1785
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1785#FFFFFF#000000##FFFFFF
##1E17851.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1785;
/* rgb */ color: rgb(30, 23, 133);
/* oklch */ color: oklch(31.3% 0.171 273.2);
Tailwind
colors: {
  custom: {
    50: '#6d57aa',
    500: '#1e1785',
    950: '#000000',
  },
}
SCSS
$custom: #1e1785;
$custom-light: #6d57aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1785",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 243.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31334,
    "c": 0.17091,
    "h": 273.2
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#1E1785
secondary
#B1B93F
accent
#ED3BE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1785

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

Preview Lab → · Contrast checker → · Palette generator →

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