#1E1D71#1E1D71

#1E1D71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.139 H 274.5°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#1E1D71
RGBrgb(30, 29, 113)
HSLhsl(241, 59%, 28%)
HSVhsv(241, 74%, 44%)
CMYKcmyk(73.5%, 74.3%, 0%, 55.7%)
CIE-LABlab(17.21, 30.11, -47.98)
CIE-LCHlch(17.21, 56.64, 302.11°)
OKLaboklab(29.9% 0.011 -0.1387)
OKLCHoklch(29.9% 0.139 274.5)
XYZxyz(3.9544, 2.3466, 15.8641)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D71 #70711D
analogous
#1D4671 #1E1D71 #481D71
triadic
#1E1D71 #711E1D #1D711E
tetradic
#1E1D71 #711D46 #70711D #1D7148
square
#1E1D71 #711D46 #70711D #1D7148
split-complementary
#1E1D71 #71481D #46711D
monochromatic
#060618 #111140 #1E1D71 #2B29A2 #3D3CCD

Accessibility & contrast

On white

14.29
#1E1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E1D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D71
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D71#FFFFFF#000000##FFFFFF
##1E1D711.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1d71;
/* rgb */ color: rgb(30, 29, 113);
/* oklch */ color: oklch(29.9% 0.139 274.5);
Tailwind
colors: {
  custom: {
    50: '#685a9b',
    500: '#1e1d71',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d71;
$custom-light: #685a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d71",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 240.714,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.299,
    "c": 0.13914,
    "h": 274.5
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#1E1D71
secondary
#A4A544
accent
#E245E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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