#1E1D98#1E1D98

#1E1D98 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.189 H 270.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#1E1D98
RGBrgb(30, 29, 152)
HSLhsl(240, 68%, 35%)
HSVhsv(240, 81%, 60%)
CMYKcmyk(80.3%, 80.9%, 0%, 40.4%)
CIE-LABlab(21.66, 43.62, -65.23)
CIE-LCHlch(21.66, 78.47, 303.77°)
OKLaboklab(34.35% 0.0031 -0.1888)
OKLCHoklch(34.35% 0.189 270.9)
XYZxyz(6.6404, 3.4210, 30.0100)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D98 #97981D
analogous
#1D5998 #1E1D98 #5B1D98
triadic
#1E1D98 #981E1D #1D981E
tetradic
#1E1D98 #981D59 #97981D #1D985B
square
#1E1D98 #981D59 #97981D #1D985B
split-complementary
#1E1D98 #985B1D #59981D
monochromatic
#0A0931 #141365 #1E1D98 #2827CB #5352DE

Accessibility & contrast

On white

12.47
#1E1D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E1D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D98
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D98#FFFFFF#000000##FFFFFF
##1E1D981.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e1d98;
/* rgb */ color: rgb(30, 29, 152);
/* oklch */ color: oklch(34.4% 0.189 270.9);
Tailwind
colors: {
  custom: {
    50: '#725cb8',
    500: '#1e1d98',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d98;
$custom-light: #725cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d98",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 240.488,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34353,
    "c": 0.18888,
    "h": 270.9
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#1E1D98
secondary
#C0C150
accent
#EB3DE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1D98

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

Preview Lab → · Contrast checker → · Palette generator →

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