#1E1D7C#1E1D7C

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

Color values

HEX#1E1D7C
RGBrgb(30, 29, 124)
HSLhsl(241, 62%, 30%)
HSVhsv(241, 77%, 49%)
CMYKcmyk(75.8%, 76.6%, 0%, 51.4%)
CIE-LABlab(18.41, 34.06, -53.07)
CIE-LCHlch(18.41, 63.06, 302.69°)
OKLaboklab(31.11% 0.0089 -0.1535)
OKLCHoklch(31.11% 0.154 273.3)
XYZxyz(4.6117, 2.6095, 19.3255)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D7C #7B7C1D
analogous
#1D4B7C #1E1D7C #4E1D7C
triadic
#1E1D7C #7C1E1D #1D7C1E
tetradic
#1E1D7C #7C1D4B #7B7C1D #1D7C4E
square
#1E1D7C #7C1D4B #7B7C1D #1D7C4E
split-complementary
#1E1D7C #7C4E1D #4B7C1D
monochromatic
#060619 #12114A #1E1D7C #2A29AE #4241D3

Accessibility & contrast

On white

13.80
#1E1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1D7C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D7C#FFFFFF#000000##FFFFFF
##1E1D7C1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1d7c;
/* rgb */ color: rgb(30, 29, 124);
/* oklch */ color: oklch(31.1% 0.154 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a5aa3',
    500: '#1e1d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d7c;
$custom-light: #6a5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d7c",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 240.632,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.31112,
    "c": 0.15381,
    "h": 273.3
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#1E1D7C
secondary
#AEB045
accent
#E543E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E1D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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