#1E1D8B#1E1D8B

#1E1D8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.173 H 271.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#1E1D8B
RGBrgb(30, 29, 139)
HSLhsl(241, 65%, 33%)
HSVhsv(241, 79%, 55%)
CMYKcmyk(78.4%, 79.1%, 0%, 45.5%)
CIE-LABlab(20.12, 39.27, -59.72)
CIE-LCHlch(20.12, 71.47, 303.33°)
OKLaboklab(32.82% 0.0059 -0.1729)
OKLCHoklch(32.82% 0.173 271.9)
XYZxyz(5.6334, 3.0182, 24.7068)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D8B #8A8B1D
analogous
#1D538B #1E1D8B #551D8B
triadic
#1E1D8B #8B1E1D #1D8B1E
tetradic
#1E1D8B #8B1D53 #8A8B1D #1D8B55
square
#1E1D8B #8B1D53 #8A8B1D #1D8B55
split-complementary
#1E1D8B #8B551D #538B1D
monochromatic
#080826 #131258 #1E1D8B #2928BE #4B49D9

Accessibility & contrast

On white

13.09
#1E1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1D8B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D8B#FFFFFF#000000##FFFFFF
##1E1D8B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1d8b;
/* rgb */ color: rgb(30, 29, 139);
/* oklch */ color: oklch(32.8% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e5bae',
    500: '#1e1d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d8b;
$custom-light: #6e5bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d8b",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 240.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32825,
    "c": 0.17296,
    "h": 271.9
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#1E1D8B
secondary
#BABB49
accent
#E83FE7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #1E1D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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