#1E1C7C#1E1C7C

#1E1C7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.155 H 273.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#1E1C7C
RGBrgb(30, 28, 124)
HSLhsl(241, 63%, 30%)
HSVhsv(241, 77%, 49%)
CMYKcmyk(75.8%, 77.4%, 0%, 51.4%)
CIE-LABlab(18.19, 34.66, -53.43)
CIE-LCHlch(18.19, 63.69, 302.97°)
OKLaboklab(30.96% 0.0094 -0.1546)
OKLCHoklch(30.96% 0.155 273.5)
XYZxyz(4.5876, 2.5613, 19.3175)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C7C #7A7C1C
analogous
#1C4A7C #1E1C7C #4E1C7C
triadic
#1E1C7C #7C1E1C #1C7C1E
tetradic
#1E1C7C #7C1C4A #7A7C1C #1C7C4E
square
#1E1C7C #7C1C4A #7A7C1C #1C7C4E
split-complementary
#1E1C7C #7C4E1C #4A7C1C
monochromatic
#060619 #12114A #1E1C7C #2A27AE #423FD4

Accessibility & contrast

On white

13.89
#1E1C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E1C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C7C
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C7C#FFFFFF#000000##FFFFFF
##1E1C7C1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1c7c;
/* rgb */ color: rgb(30, 28, 124);
/* oklch */ color: oklch(31.0% 0.155 273.5);
Tailwind
colors: {
  custom: {
    50: '#6b5aa3',
    500: '#1e1c7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c7c;
$custom-light: #6b5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c7c",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 241.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3096,
    "c": 0.15486,
    "h": 273.5
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#1E1C7C
secondary
#AEB044
accent
#E642E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E1C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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