#1E1C82#1E1C82

#1E1C82 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.163 H 272.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1E1C82
RGBrgb(30, 28, 130)
HSLhsl(241, 65%, 31%)
HSVhsv(241, 78%, 51%)
CMYKcmyk(76.9%, 78.5%, 0%, 49%)
CIE-LABlab(18.88, 36.75, -56.11)
CIE-LCHlch(18.88, 67.08, 303.23°)
OKLaboklab(31.65% 0.0082 -0.1624)
OKLCHoklch(31.65% 0.163 272.9)
XYZxyz(4.9786, 2.7177, 21.3770)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C82 #80821C
analogous
#1C4D82 #1E1C82 #511C82
triadic
#1E1C82 #821E1C #1C821E
tetradic
#1E1C82 #821C4D #80821C #1C8251
square
#1E1C82 #821C4D #80821C #1C8251
split-complementary
#1E1C82 #82511C #4D821C
monochromatic
#07061D #121150 #1E1C82 #2A27B4 #4542D6

Accessibility & contrast

On white

13.60
#1E1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C82
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C82#FFFFFF#000000##FFFFFF
##1E1C821.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1c82;
/* rgb */ color: rgb(30, 28, 130);
/* oklch */ color: oklch(31.6% 0.163 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c5aa7',
    500: '#1e1c82',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c82;
$custom-light: #6c5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c82",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 241.176,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31645,
    "c": 0.16258,
    "h": 272.9
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#1E1C82
secondary
#B3B544
accent
#E840E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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