#1E1C7D#1E1C7D

#1E1C7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.156 H 273.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#1E1C7D
RGBrgb(30, 28, 125)
HSLhsl(241, 63%, 30%)
HSVhsv(241, 78%, 49%)
CMYKcmyk(76%, 77.6%, 0%, 51%)
CIE-LABlab(18.31, 35.01, -53.88)
CIE-LCHlch(18.31, 64.25, 303.02°)
OKLaboklab(31.07% 0.0092 -0.1559)
OKLCHoklch(31.07% 0.156 273.4)
XYZxyz(4.6511, 2.5867, 19.6522)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1C7D #7B7D1C
analogous
#1C4B7D #1E1C7D #4E1C7D
triadic
#1E1C7D #7D1E1C #1C7D1E
tetradic
#1E1C7D #7D1C4B #7B7D1C #1C7D4E
square
#1E1C7D #7D1C4B #7B7D1C #1C7D4E
split-complementary
#1E1C7D #7D4E1C #4B7D1C
monochromatic
#060619 #12114B #1E1C7D #2A27AF #423FD4

Accessibility & contrast

On white

13.84
#1E1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1C7D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1C7D#FFFFFF#000000##FFFFFF
##1E1C7D1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1c7d;
/* rgb */ color: rgb(30, 28, 125);
/* oklch */ color: oklch(31.1% 0.156 273.4);
Tailwind
colors: {
  custom: {
    50: '#6b5aa4',
    500: '#1e1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1c7d;
$custom-light: #6b5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1c7d",
  "rgb": {
    "r": 30,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 241.237,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31074,
    "c": 0.15615,
    "h": 273.4
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#1E1C7D
secondary
#AEB144
accent
#E641E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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