#1E1C8A#1E1C8A

#1E1C8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.173 H 272.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1E1C8A
RGBrgb(30, 28, 138)
HSLhsl(241, 66%, 33%)
HSVhsv(241, 80%, 54%)
CMYKcmyk(78.3%, 79.7%, 0%, 45.9%)
CIE-LABlab(19.81, 39.49, -59.61)
CIE-LCHlch(19.81, 71.50, 303.52°)
OKLaboklab(32.57% 0.0065 -0.1725)
OKLCHoklch(32.57% 0.173 272.1)
XYZxyz(5.5366, 2.9409, 24.3157)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C8A #888A1C
analogous
#1C518A #1E1C8A #551C8A
triadic
#1E1C8A #8A1E1C #1C8A1E
tetradic
#1E1C8A #8A1C51 #888A1C #1C8A55
square
#1E1C8A #8A1C51 #888A1C #1C8A55
split-complementary
#1E1C8A #8A551C #518A1C
monochromatic
#080724 #131257 #1E1C8A #2926BD #4947DA

Accessibility & contrast

On white

13.22
#1E1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C8A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C8A#FFFFFF#000000##FFFFFF
##1E1C8A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1c8a;
/* rgb */ color: rgb(30, 28, 138);
/* oklch */ color: oklch(32.6% 0.173 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e5aad',
    500: '#1e1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c8a;
$custom-light: #6e5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c8a",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 241.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.17265,
    "h": 272.1
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#1E1C8A
secondary
#B9BB46
accent
#E93FE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #1E1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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