#1E1C8D#1E1C8D

#1E1C8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.176 H 271.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1E1C8D
RGBrgb(30, 28, 141)
HSLhsl(241, 67%, 33%)
HSVhsv(241, 80%, 55%)
CMYKcmyk(78.7%, 80.1%, 0%, 44.7%)
CIE-LABlab(20.16, 40.50, -60.90)
CIE-LCHlch(20.16, 73.13, 303.63°)
OKLaboklab(32.92% 0.0058 -0.1763)
OKLCHoklch(32.92% 0.176 271.9)
XYZxyz(5.7568, 3.0290, 25.4754)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C8D #8B8D1C
analogous
#1C528D #1E1C8D #561C8D
triadic
#1E1C8D #8D1E1C #1C8D1E
tetradic
#1E1C8D #8D1C52 #8B8D1C #1C8D56
square
#1E1C8D #8D1C52 #8B8D1C #1C8D56
split-complementary
#1E1C8D #8D561C #528D1C
monochromatic
#080827 #13125A #1E1C8D #2926C0 #4B49DB

Accessibility & contrast

On white

13.08
#1E1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C8D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C8D#FFFFFF#000000##FFFFFF
##1E1C8D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1c8d;
/* rgb */ color: rgb(30, 28, 141);
/* oklch */ color: oklch(32.9% 0.176 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f5bb0',
    500: '#1e1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c8d;
$custom-light: #6f5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c8d",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 241.062,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.32924,
    "c": 0.17637,
    "h": 271.9
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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