#1E1C4E#1E1C4E

#1E1C4E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.089 H 280.1°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#1E1C4E
RGBrgb(30, 28, 78)
HSLhsl(242, 47%, 21%)
HSVhsv(242, 64%, 31%)
CMYKcmyk(61.5%, 64.1%, 0%, 69.4%)
CIE-LABlab(13.57, 17.70, -30.65)
CIE-LCHlch(13.57, 35.39, 300.00°)
OKLaboklab(26.21% 0.0156 -0.0879)
OKLCHoklch(26.21% 0.089 280.1)
XYZxyz(2.3254, 1.6564, 7.4034)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C4E #4C4E1C
analogous
#1C334E #1E1C4E #371C4E
triadic
#1E1C4E #4E1E1C #1C4E1E
tetradic
#1E1C4E #4E1C33 #4C4E1C #1C4E37
square
#1E1C4E #4E1C33 #4C4E1C #1C4E37
split-complementary
#1E1C4E #4E371C #334E1C
monochromatic
#090817 #0D0C21 #1E1C4E #2F2C7B #413CA8

Accessibility & contrast

On white

15.77
#1E1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C4E
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C4E#FFFFFF#000000##FFFFFF
##1E1C4E1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#062831
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e1c4e;
/* rgb */ color: rgb(30, 28, 78);
/* oklch */ color: oklch(26.2% 0.089 280.1);
Tailwind
colors: {
  custom: {
    50: '#5f5880',
    500: '#1e1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c4e;
$custom-light: #5f5880;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c4e",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 242.4,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26211,
    "c": 0.08927,
    "h": 280.1
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#1E1C4E
secondary
#818442
accent
#D751D1
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #1E1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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