#1E1C83#1E1C83

#1E1C83 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.164 H 272.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1E1C83
RGBrgb(30, 28, 131)
HSLhsl(241, 65%, 31%)
HSVhsv(241, 79%, 51%)
CMYKcmyk(77.1%, 78.6%, 0%, 48.6%)
CIE-LABlab(18.99, 37.10, -56.55)
CIE-LCHlch(18.99, 67.63, 303.26°)
OKLaboklab(31.76% 0.008 -0.1637)
OKLCHoklch(31.76% 0.164 272.8)
XYZxyz(5.0460, 2.7447, 21.7322)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C83 #81831C
analogous
#1C4D83 #1E1C83 #511C83
triadic
#1E1C83 #831E1C #1C831E
tetradic
#1E1C83 #831C4D #81831C #1C8351
square
#1E1C83 #831C4D #81831C #1C8351
split-complementary
#1E1C83 #83511C #4D831C
monochromatic
#07061E #121151 #1E1C83 #2A27B5 #4643D7

Accessibility & contrast

On white

13.56
#1E1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1C83
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C83#FFFFFF#000000##FFFFFF
##1E1C831.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1c83;
/* rgb */ color: rgb(30, 28, 131);
/* oklch */ color: oklch(31.8% 0.164 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c5aa8',
    500: '#1e1c83',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c83;
$custom-light: #6c5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c83",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 241.165,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.16385,
    "h": 272.8
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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