#1E1C8F#1E1C8F

#1E1C8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.179 H 271.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1E1C8F
RGBrgb(30, 28, 143)
HSLhsl(241, 67%, 34%)
HSVhsv(241, 80%, 56%)
CMYKcmyk(79%, 80.4%, 0%, 43.9%)
CIE-LABlab(20.40, 41.17, -61.75)
CIE-LCHlch(20.40, 74.21, 303.69°)
OKLaboklab(33.16% 0.0054 -0.1787)
OKLCHoklch(33.16% 0.179 271.7)
XYZxyz(5.9069, 3.0890, 26.2662)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C8F #8D8F1C
analogous
#1C538F #1E1C8F #571C8F
triadic
#1E1C8F #8F1E1C #1C8F1E
tetradic
#1E1C8F #8F1C53 #8D8F1C #1C8F57
square
#1E1C8F #8F1C53 #8D8F1C #1C8F57
split-complementary
#1E1C8F #8F571C #538F1C
monochromatic
#090829 #13125C #1E1C8F #2926C2 #4C4ADC

Accessibility & contrast

On white

12.98
#1E1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C8F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C8F#FFFFFF#000000##FFFFFF
##1E1C8F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1c8f;
/* rgb */ color: rgb(30, 28, 143);
/* oklch */ color: oklch(33.2% 0.179 271.7);
Tailwind
colors: {
  custom: {
    50: '#705bb1',
    500: '#1e1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c8f;
$custom-light: #705bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c8f",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 241.043,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33159,
    "c": 0.17882,
    "h": 271.7
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#1E1C8F
secondary
#BCBE49
accent
#EA3EE7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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