#1E1C7A#1E1C7A

#1E1C7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.152 H 273.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1E1C7A
RGBrgb(30, 28, 122)
HSLhsl(241, 63%, 29%)
HSVhsv(241, 77%, 48%)
CMYKcmyk(75.4%, 77%, 0%, 52.2%)
CIE-LABlab(17.97, 33.96, -52.52)
CIE-LCHlch(17.97, 62.54, 302.89°)
OKLaboklab(30.74% 0.0099 -0.1519)
OKLCHoklch(30.74% 0.152 273.7)
XYZxyz(4.4624, 2.5112, 18.6581)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C7A #787A1C
analogous
#1C497A #1E1C7A #4D1C7A
triadic
#1E1C7A #7A1E1C #1C7A1E
tetradic
#1E1C7A #7A1C49 #787A1C #1C7A4D
square
#1E1C7A #7A1C49 #787A1C #1C7A4D
split-complementary
#1E1C7A #7A4D1C #497A1C
monochromatic
#060619 #121148 #1E1C7A #2A27AC #413ED3

Accessibility & contrast

On white

13.98
#1E1C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C7A
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C7A#FFFFFF#000000##FFFFFF
##1E1C7A1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1c7a;
/* rgb */ color: rgb(30, 28, 122);
/* oklch */ color: oklch(30.7% 0.152 273.7);
Tailwind
colors: {
  custom: {
    50: '#6a59a1',
    500: '#1e1c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c7a;
$custom-light: #6a59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c7a",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 241.277,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30735,
    "c": 0.15225,
    "h": 273.7
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#1E1C7A
secondary
#ACAE44
accent
#E642E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E1C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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