#1E1C74#1E1C74

#1E1C74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.144 H 274.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#1E1C74
RGBrgb(30, 28, 116)
HSLhsl(241, 61%, 28%)
HSVhsv(241, 76%, 45%)
CMYKcmyk(74.1%, 75.9%, 0%, 54.5%)
CIE-LABlab(17.31, 31.82, -49.76)
CIE-LCHlch(17.31, 59.06, 302.60°)
OKLaboklab(30.07% 0.011 -0.1439)
OKLCHoklch(30.07% 0.144 274.4)
XYZxyz(4.1020, 2.3671, 16.7603)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C74 #72741C
analogous
#1C4674 #1E1C74 #4A1C74
triadic
#1E1C74 #741E1C #1C741E
tetradic
#1E1C74 #741C46 #72741C #1C744A
square
#1E1C74 #741C46 #72741C #1C744A
split-complementary
#1E1C74 #744A1C #46741C
monochromatic
#060619 #111043 #1E1C74 #2B28A5 #3E3BD0

Accessibility & contrast

On white

14.25
#1E1C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E1C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C74
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C74#FFFFFF#000000##FFFFFF
##1E1C741.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1c74;
/* rgb */ color: rgb(30, 28, 116);
/* oklch */ color: oklch(30.1% 0.144 274.4);
Tailwind
colors: {
  custom: {
    50: '#68599d',
    500: '#1e1c74',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c74;
$custom-light: #68599d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c74",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 241.364,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30066,
    "c": 0.14431,
    "h": 274.4
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#1E1C74
secondary
#A6A843
accent
#E444E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1C74

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

Preview Lab → · Contrast checker → · Palette generator →

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