#1E1C85#1E1C85

#1E1C85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.166 H 272.6°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#1E1C85
RGBrgb(30, 28, 133)
HSLhsl(241, 65%, 32%)
HSVhsv(241, 79%, 52%)
CMYKcmyk(77.4%, 78.9%, 0%, 47.8%)
CIE-LABlab(19.22, 37.79, -57.43)
CIE-LCHlch(19.22, 68.75, 303.34°)
OKLaboklab(31.99% 0.0076 -0.1662)
OKLCHoklch(31.99% 0.166 272.6)
XYZxyz(5.1829, 2.7994, 22.4529)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C85 #83851C
analogous
#1C4F85 #1E1C85 #531C85
triadic
#1E1C85 #851E1C #1C851E
tetradic
#1E1C85 #851C4F #83851C #1C8553
square
#1E1C85 #851C4F #83851C #1C8553
split-complementary
#1E1C85 #85531C #4F851C
monochromatic
#070720 #131152 #1E1C85 #2927B8 #4744D8

Accessibility & contrast

On white

13.46
#1E1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C85
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C85#FFFFFF#000000##FFFFFF
##1E1C851.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e1c85;
/* rgb */ color: rgb(30, 28, 133);
/* oklch */ color: oklch(32.0% 0.166 272.6);
Tailwind
colors: {
  custom: {
    50: '#6d5aaa',
    500: '#1e1c85',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c85;
$custom-light: #6d5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c85",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 241.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3199,
    "c": 0.16638,
    "h": 272.6
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#1E1C85
secondary
#B6B845
accent
#E840E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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