#1E1C84#1E1C84

#1E1C84 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.165 H 272.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#1E1C84
RGBrgb(30, 28, 132)
HSLhsl(241, 65%, 31%)
HSVhsv(241, 79%, 52%)
CMYKcmyk(77.3%, 78.8%, 0%, 48.2%)
CIE-LABlab(19.11, 37.44, -56.99)
CIE-LCHlch(19.11, 68.19, 303.30°)
OKLaboklab(31.87% 0.0078 -0.1649)
OKLCHoklch(31.87% 0.165 272.7)
XYZxyz(5.1141, 2.7719, 22.0908)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C84 #82841C
analogous
#1C4E84 #1E1C84 #521C84
triadic
#1E1C84 #841E1C #1C841E
tetradic
#1E1C84 #841C4E #82841C #1C8452
square
#1E1C84 #841C4E #82841C #1C8452
split-complementary
#1E1C84 #84521C #4E841C
monochromatic
#07071F #131152 #1E1C84 #2927B6 #4643D7

Accessibility & contrast

On white

13.51
#1E1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C84
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C84#FFFFFF#000000##FFFFFF
##1E1C841.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1c84;
/* rgb */ color: rgb(30, 28, 132);
/* oklch */ color: oklch(31.9% 0.165 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d5aa9',
    500: '#1e1c84',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c84;
$custom-light: #6d5aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c84",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 241.154,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31875,
    "c": 0.16512,
    "h": 272.7
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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