#1E1D8A#1E1D8A

#1E1D8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.172 H 272.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1E1D8A
RGBrgb(30, 29, 138)
HSLhsl(241, 65%, 33%)
HSVhsv(241, 79%, 54%)
CMYKcmyk(78.3%, 79%, 0%, 45.9%)
CIE-LABlab(20.00, 38.93, -59.28)
CIE-LCHlch(20.00, 70.92, 303.29°)
OKLaboklab(32.71% 0.0061 -0.1716)
OKLCHoklch(32.71% 0.172 272)
XYZxyz(5.5607, 2.9891, 24.3237)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D8A #898A1D
analogous
#1D538A #1E1D8A #541D8A
triadic
#1E1D8A #8A1E1D #1D8A1E
tetradic
#1E1D8A #8A1D53 #898A1D #1D8A54
square
#1E1D8A #8A1D53 #898A1D #1D8A54
split-complementary
#1E1D8A #8A541D #538A1D
monochromatic
#080825 #131257 #1E1D8A #2928BD #4A49D9

Accessibility & contrast

On white

13.14
#1E1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D8A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D8A#FFFFFF#000000##FFFFFF
##1E1D8A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e1d8a;
/* rgb */ color: rgb(30, 29, 138);
/* oklch */ color: oklch(32.7% 0.172 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e5bad',
    500: '#1e1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d8a;
$custom-light: #6e5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d8a",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 240.55,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32709,
    "c": 0.17172,
    "h": 272
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#1E1D8A
secondary
#BABB48
accent
#E840E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #1E1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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