#1E1885#1E1885

#1E1885 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.170 H 273.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#1E1885
RGBrgb(30, 24, 133)
HSLhsl(243, 69%, 31%)
HSVhsv(243, 82%, 52%)
CMYKcmyk(77.4%, 82%, 0%, 47.8%)
CIE-LABlab(18.46, 39.97, -58.69)
CIE-LCHlch(18.46, 71.01, 304.26°)
OKLaboklab(31.46% 0.0091 -0.1698)
OKLCHoklch(31.46% 0.17 273.1)
XYZxyz(5.0943, 2.6222, 22.4234)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1885 #7F8518
analogous
#184885 #1E1885 #541885
triadic
#1E1885 #851E18 #18851E
tetradic
#1E1885 #851848 #7F8518 #188554
square
#1E1885 #851848 #7F8518 #188554
split-complementary
#1E1885 #855418 #488518
monochromatic
#07051D #120F51 #1E1885 #2A21B9 #443CDC

Accessibility & contrast

On white

13.77
#1E1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1885
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1885#FFFFFF#000000##FFFFFF
##1E18851.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1885;
/* rgb */ color: rgb(30, 24, 133);
/* oklch */ color: oklch(31.5% 0.170 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d58aa',
    500: '#1e1885',
    950: '#000000',
  },
}
SCSS
$custom: #1e1885;
$custom-light: #6d58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1885",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 243.303,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.17005,
    "h": 273.1
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#1E1885
secondary
#B2B940
accent
#EC3CE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1885

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

Preview Lab → · Contrast checker → · Palette generator →

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